24 hour format

Hi,

How do we display in 24 hour format?

Thanks,
Alex

1 Reply

PM Ponmani Murugaiyan Syncfusion Team December 3, 2020 12:37 PM UTC

Hi Alex, 

Greetings from Syncfusion support. 

You can display in 24 hours format for DateTimePicker component using the TimeFormat property as like below code snippet. 


<SfDateTimePicker TValue="DateTime?" TimeFormat="HH:mm" Placeholder="Select a date and time"></SfDateTimePicker> 



Kindly check with the above sample to achieve your requirement. Please get back us if you need further assistance. 

Regards, 
Ponmani M 


Loader.
Up arrow icon