Re: parsing Unix date
Re: parsing Unix date
- Subject: Re: parsing Unix date
- From: Michael Grant <email@hidden>
- Date: Fri, 9 Jan 2004 15:06:19 -0600
On Jan 9, 2004, at 12:08 PM, Doug McNutt wrote:
On Jan 9, 2004, at 8:48 AM, Michael Grant wrote:
set d to (do shell script "date") --> "Fri Jan 9 01:00:02 CST 2004"
date d --> date "Friday, January 9, 2004 9:01:00 AM"
Is the problem that the dates are 58 seconds apart? Or is it the
abbreviations? Or is it that one includes the time zone?
The dates are eight hours apart. Applescript apparently interprets the
9 as both the day of the month AND the hour (dropping the seconds in
the Unix date).
Michael
--
He is not only dull himself, he is the cause of dullness in others.
- Samuel Johnson
_______________________________________________
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.