• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date math problem in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Date math problem in Leopard (From: "Mark J. Reed" <email@hidden>)
 >Re: Date math problem in Leopard (From: Jeff Jungblut <email@hidden>)

  • Prev by Date: Re: Path to Document in Script Editor
  • Next by Date: Re: Path to Document in Script Editor
  • Previous by thread: Re: Date math problem in Leopard
  • Next by thread: How to select some photos from iPhoto through script?
  • Index(es):
    • Date
    • Thread