I have the DisplayFormat and Editformat properties set so that it works with 24hr time format, but when I focus on the control it does not hold that format. I tried using the EditMask but the only predefined mask is the ShortTime which is HH:mm AM/PM format.
I want to have both the display and the edit format to be HH:mm.
Thank you for all your help.
How can I show 24 Hour format for TimeEdit
Answers approved by DevExpress Support
You should set the EditMask property to "HH:mm". We've attached a sample project.
Thanks
Is it possible to have second in 24 format? because in the suggested solution, i.e HH:mm the second is disappeared
Hello,
Extend this mask as follows: "HH:mm:ss".
Please see the Mask Type: Date-time help article to learn more about DateTime masks.
Feel free to contact us if you need further assistance.