Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - DateTimePicker CustomFormat Hours 0-23
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DateTimePicker CustomFormat Hours 0-23

 Post Reply Post Reply
Author
Message
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Topic: DateTimePicker CustomFormat Hours 0-23
    Posted: 19 September 2008 at 4:15am
If I use 'hh:mm' as CustomFormat the DateTimePicker is in AM/PM mode but I like the 23 hour mode.
I like to enter and display 23:59 and not 11:59 PM or AM.

The format function in VB6 works like this:
http://www.apostate.com/vb-format-syntax
(scroll down to "Formatting Symbols")
or take a look at vb6 help.

It would be nice if the CustomFormat of the DateTimePicker would accept the same formatting syntax.
Product: Xtreme SuitePro (ActiveX) Version 15.0.2
Platform: Windows XP (32bit) German - SP 2
Language: VB6 / C# 4.0
Back to Top
TShriver View Drop Down
Groupie
Groupie
Avatar

Joined: 27 July 2008
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote TShriver Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2009 at 2:59pm
I agree, this would be helpful.
 
Tim
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.