Print Page | Close Window

DateTimePicker CustomFormat Hours 0-23

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12207
Printed Date: 22 November 2024 at 6:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DateTimePicker CustomFormat Hours 0-23
Posted By: Jean
Subject: DateTimePicker CustomFormat Hours 0-23
Date 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



Replies:
Posted By: TShriver
Date Posted: 10 March 2009 at 2:59pm
I agree, this would be helpful.
 
Tim



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net