Use DatePickers or TimePickers when you want to let users select dates or times.
In this section
| Topic | Description |
|---|---|
|
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. | |
|
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 Windows Library for JavaScript. 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. | |
|
This topic describes best practices for using the Windows Library for JavaScript DatePicker control. For more information about adding a DatePicker to your app, see Quickstart: Adding a DatePicker. | |
|
This topic describes best practices for using the Windows Library for JavaScript TimePicker control. For more information about adding a TimePicker to your app, see Quickstart: Adding a TimePicker. |
Build date: 11/29/2012