Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTimePicker for 24 hour format

Status
Not open for further replies.

Shift838

IS-IT--Management
Jan 27, 2003
987
US
I am trying to put in a DateTimePicker on my VB.Net app allow you to pick time only. That's easy, i chaged the format to time, but how can I change the time format from 12 hours to 24 hour clock?
 
Hmm, mine defaults to 24 hour clock from the get go when I select time...

If yours doesn't, then change then Format property to Custom and change the CustomFormat property to HH:mm:ss

Hope this helps



Andy
---------------------------------
Zebracorn: 50% Zebra, 50% Unicorn = 100% Real.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top