Question : Time Update not working correctly

I have a timepicker  control  with 24 hour time format to define cycle times.

The syntax:

"1/1/2010 " + Me.TSPullRequest.Date.ToShortTimeString

When i key in 01:00 it always returns it as 01:00 PM and it really needs to be 01:00 AM (13:00 shoud return 01:00 PM which works fine).

How do I get this to work?

Answer : Time Update not working correctly

Jessy, I've looked too, but nothing stood out.  Also, no one has yet responded to my post on that thread.

As a workaround, could you use the control in AM/PM mode?  I assume that gives you correct values.  You could then convert the time to the format you want for use within your program and for storage.  If it's not a requirement to have 24 hour time on your page, the inconvenience of being bilingual may not be too bad.
Random Solutions  
 
programming4us programming4us