HourFormat

Definition

This enumeration type exposes a list of values that represent various formats to display time.

Use

You use this enumeration type to define a specific format for time.

Structure

The enumeration values and numeric identifiers defined for the HourFormat enumeration are described below.

Enumeration value

Description

Numeric identifier

Hour24

Displays time in the 24 hours format. For example, 10 PM is displayed as 22:00

1

Hour12

Displays time in the 12 hours format. For example, 10 PM

2