ClockIdentifiers
ClockIdentifiers
ClockIdentifiers
ClockIdentifiers
Class
Definition
Contains the clock identifiers for the supported clocks, as static properties.
public : static class ClockIdentifierspublic static class ClockIdentifiersPublic Static Class ClockIdentifiers// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The identifiers returned by properties on this class are suitable for use anywhere a clock identifier is required.
Properties
TwelveHour TwelveHour TwelveHour TwelveHour
Gets the identifier for a 12-hour clock.
public : static PlatForm::String TwelveHour { get; }public static string TwelveHour { get; }Public Static ReadOnly Property TwelveHour As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The string "12HourClock", which is the identifier for a 12-hour clock.
TwentyFourHour TwentyFourHour TwentyFourHour TwentyFourHour
Gets the identifier for a 24-hour clock.
public : static PlatForm::String TwentyFourHour { get; }public static string TwentyFourHour { get; }Public Static ReadOnly Property TwentyFourHour As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The string "24HourClock", which is the identifier for a 24-hour clock.