Formatting date and time |
Post Reply |
Author | |
joe12
Newbie Joined: 06 November 2006 Location: Canada Status: Offline Points: 6 |
Post Options
Thanks(0)
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? ;-)
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |