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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

24 hour format

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 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

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

Hi,

Thank you for the answer!

Regards,

Marvin

Victory Jessie Selvam D [Syncfusion]
Replied On 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

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.

Warning Icon 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.Close Icon

;