Time picker not displaying 24 hour Time correct

Mar 1, 2011 at 2:28 PM

I have set 24 Hour time. When current time is 9:00 AM it displays 21:00. Can any one suggest if this bug was fixed.

Sep 12, 2013 at 4:36 PM
Hi there Syerneni,

I have had similar problem, didn't know how to handle it, I have come across this article and i find it very helpful to overcome the 24-time issue:

the idea is to use DateTime.Parse and then find out if the time string contains the sub string "AM" or "PM", and based on that you decide to whether to use the corresponding property of TimeSelector.AmPmSpec to Set the time for the TimePicker control.

best wishes & good luck.