Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Formatting date and time
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Formatting date and time

 Post Reply Post Reply
Author
Message
joe12 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 November 2006
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote joe12 Quote  Post ReplyReply Direct Link To This Post Topic: Formatting date and time
    Posted: 05 December 2006 at 2:14pm
Is this me or we cannot format the day and month part of a date without the preceding zero (i.e. January = '01' and can always be '1'). It is the same with hour, minute and second of the time. Maybe for the next release? ;-)
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 14 December 2006 at 6:17am
To remove leading zero inset # after %.
Example: %#d
 
See Also help for strftime: http://msdn2.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx

--
WBR,
Serge
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.500 seconds.