Example of Format in Javascript DateTimePicker Control

/
/
Format

In this sample, the DateTimePicker has been configured with the dd-MMM-yy hh:mm a date time format. To change this current date time format, go to the properties panel at the right side and select a date format from the dropdown options. For mobile mode touch the icon at the right side and select a date time format from the dropdown options.

More Details...



Description

Format sample illustrates the support of custom date format in the DateTimePicker component by using the format property. You can also change the date format by selecting it from the format options in the properties panel. By using the timeFormat property to format the displayed time value in the popup list.