Re: Date math problem in Leopard
Re: Date math problem in Leopard
- Subject: Re: Date math problem in Leopard
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 15 Mar 2008 18:09:19 -0400
On Sat, Mar 15, 2008 at 5:42 PM, Jeff Jungblut <email@hidden> wrote:
> Thanks so much for that. I changed the constant to 567331200 (567320400 came
> up as 9:00 PM Wednesday on my system -- time zone difference?) and now it
> correctly produces a Thursday date.
Sorry, yeah. Unix timestamps are universal time: when it's time_t
567,320,400, it's 567,320,400 all over the world at the same second.
That particular second is midnight at the start of Thursday, Dec 24
1987 in Eastern Standard Time, but it sounds like you're in Pacific
time, where that was still 9PM the prior evening.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden