We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

24 hour format

Hi,

I wanted to know if there is a way to configure the DateTimeEdit to show the hour in 24 hour format ? (14:00 instead of 2:00PM)
I already tried the CultureInfo in fr-FR but without success.

Thank you for advance,

Regards,

Marvin

3 Replies

MA Muthukumar A Syncfusion Team October 26, 2015 06:02 AM UTC

Hi Marvin,

Thank you for using Syncfusion products.

We can use DateTimeEdit's CustomPattern property to provide patterns as we want. You can download our demo sample from below location.

Sample:
DateTimeEdit

For custom pattern strings, please refer to: https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx  

Please let us know if the sample helps or in case of any other queries.

Regards,
Muthukumar A


AD Atlante Dev Team October 26, 2015 07:46 AM UTC

Hi,

Thank you for the answer!

Regards,

Marvin


VJ Victory Jessie Selvam D Syncfusion Team October 26, 2015 10:40 AM UTC

Hi Marvin,

Thank you for your update.

Please let us know if have any other query.

Regards,
Jessie

Loader.
Live Chat Icon For mobile
Up arrow icon