Add DatePickers and TimePickers
Collapse the table of content
Expand the table of content

Adding DatePickers and TimePickers (HTML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

Use DatePickers or TimePickers when you want to let users select dates or times. (Windows only)

In this section

TopicDescription

Quickstart: Add a DatePicker

If you need to allow users to set a date in your application, for example to schedule an appointment or set the expiration date on a credit card, you can use a DatePicker, which is a part of the Windows Library for JavaScript. The DatePicker displays three controls for month, date, and year. These controls are easy to use with touch support, and they can be styled and configured in several different ways. (Windows only)

Quickstart: Add a TimePicker

If you need to allow users to select a time in your application, for example to schedule a meeting or a reminder, you can use a TimePicker, which is a part of the WinJS. The TimePicker displays three controls: one for the hour, one for the minute, and one to choose between AM and PM. These controls are easy to use with touch support, and they can be styled and configured in several different ways. (Windows only)

 

 

 

Show:
© 2017 Microsoft