TimePicker.clock property

Gets or sets the type of clock to display (12HourClock or 24HourClock). It defaults to the user setting.

Syntax

<div data-win-control="WinJS.UI.TimePicker" data-win-options="{ clock : value}" />
var clock = timePicker.clock;
timePicker.clock = clock;

Property value

Type: String

The type of clock to display (12HourClock or 24HourClock).

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

TimePicker