Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Losing the zero from a date variable


Message #1 by "Joe Ehrenfeld" <joee@v...> on Tue, 31 Jul 2001 14:07:26
I'm using the date function and breaking down the date into month, day and 

year. Same goes for the time. It work great but when one of the variable 

returns 01, 02, 03 etc, I keep losing the zero. I need the zero. How can I 

keep it?



Thanks.
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 31 Jul 2001 14:28:32 +0100
make them into strings instead of integers



-----Original Message-----

From: Joe Ehrenfeld [mailto:joee@v...]

Sent: 31 July 2001 15:07

To: ASP Web HowTo

Subject: [asp_web_howto] Losing the zero from a date variable





I'm using the date function and breaking down the date into month, day 

and year. Same goes for the time. It work great but when one of the 

variable returns 01, 02, 03 etc, I keep losing the zero. I need the zero. How can I keep it?



Thanks.


  Return to Index