[thelist] ASP: getting double digits

Scott Dexter sgd at ti3.com
Thu, 20 Jan 2000 16:02:43 -0600


by hand, my brotha:

rightNow = Now
mo = Month(rightNow)
if mo<10 then mo="0"&mo

...

sgd
--
think safely

> -----Original Message-----
> From: Tab Alleman [mailto:talleman@avweb.com]

> So for instance, if Now() is 01/19/00 15:00:00, how can I 
> turn that into a
> string like this:
> 
> 20000119150000
> 
> instead of like this:
> 
> 20001191500
>