Re: How to get Zero (0) before Month ?
Re: How to get Zero (0) before Month ?
- Subject: Re: How to get Zero (0) before Month ?
- From: John Delacour <email@hidden>
- Date: Tue, 18 Feb 2003 21:57:06 +0000
- Mac-eudora-version: 6.0a6
At 4:35 pm +0100 16/2/03, Krister Nyman wrote:
When I use this script :
set the_months to "January February March April...
I get result "2003/2/16" thats great, but I wonder how to get this
"2003/02/16" ?
I always want to have month in two numbers, 01,02,03,04,05.....10,11,12
like it is with days.
MacOS 9.2.2
Not much use for you, but OS X users can save a lot of time by using:
do shell script "perl -e '@t = localtime();
printf qq~%s/d/d~, 1900+$t[5], 1+$t[4], $t[3]'"
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.