Compartilhar via


TimePicker.current property

Gets or sets the current time of the TimePicker. Note that the date value is always July 15, 2011.

Syntax

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

Property value

Type: Date

A Date that corresponds to the current time of the TimePicker.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

TimePicker