Re: getting the date
Re: getting the date
- Subject: Re: getting the date
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 30 Dec 2003 16:31:47 -0500
Date: Tue, 30 Dec 2003 10:37:04 -0500
To: email@hidden
From: Simon Kidd <email@hidden>
Subject: getting the date
Hi,
Iam trying to make a folder with the current date, Ive found that:
set days_date to current date
gives me the date and time in this format "date "Tuesday, 30
December, 2003 10.34.27am""
is there a way of getting the date like so: "031230"
If you're using OS X the easiest way is via the Unix "date" command:
set theDate to (do shell script "date +%y%m%d")
--> "031230"
Marc [12/30/03 4:30:18 PM]
_______________________________________________
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.