iCurrent to Double Digits

P

PJ Laurenson

Hey Guys,

I was wondering if any of you could help me out with converting a single
digit (ie: 1, 2, 3, etc) to double digits (ie: 01, 02, 03, etc).

I am trying to convert the date in DD/MM/YYYY format so it is always
displayed as 01/01/2004 instead of 1/1/2004.

The script I am trying to embed this into has similar attributes to the
Calendar on this site located at http://www.asp101.com/samples/calendar.asp
and the objects that require to be double digits are iCurrent and
Month(dDate).

Thanks Heaps!!!

PJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top