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.
Unfortunately, activation email could not send to your email. Please try again.

24 hour format

Thread ID:

Created:

Updated:

Platform:

Replies:

120861 Oct 23,2015 04:52 AM Oct 26,2015 06:40 AM WPF 3
loading
Tags: DateTimeEdit
Atlante Dev Team
Asked On October 23, 2015 04:52 AM

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

Muthukumar A [Syncfusion]
Replied On October 26, 2015 02:02 AM

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

Atlante Dev Team
Replied On October 26, 2015 03:46 AM

Hi,

Thank you for the answer!

Regards,

Marvin

Victory Jessie Selvam D [Syncfusion]
Replied On October 26, 2015 06:40 AM

Hi Marvin,

Thank you for your update.

Please let us know if have any other query.

Regards,
Jessie

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;