Re: Date formatting
Re: Date formatting
- Subject: Re: Date formatting
- From: Nigel Smith <email@hidden>
- Date: Wed, 05 Mar 2003 10:28:32 +0000
On the Epoch:
May not help in this case, but might be worth noting for future use...
Not only can you get an AppleScript date for the epoch using
set theEpoch to (date (do shell script "date -r 0 \"+%a %b %e %Y
%H:%M:%S\""))
But you can set it according to different time zones:
set theEpoch to (date (do shell script "env TZ=US/Pacific date -r 0
\"+%a %b %e %Y %H:%M:%S\""))
You can find a collection of pre-rolled zones in the /usr/share/zoneinfo/
directory.
Nigel
_______________________________________________
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.