Adding DatePickers and TimePickers (HTML)

Applies to Windows only

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

In this section

TopicDescription

Quickstart: Adding 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: Adding 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:
© 2014 Microsoft