TimePicker.current property

Applies to Windows only

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

TimePicker

 

 

Show:
© 2014 Microsoft. All rights reserved.