Hi,

I'm trying to write the Date and Time to a text file in this format:

YYYYMMDDhhmmss
20070703152344


But for single digit month like July it only display the 7 and not 07 
which is the way I need it with a zero in front of the 7. 

What is the command to format the month field so it's two digit in 
length?

TIA
Michael


Reply via email to