• 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: TIME TO GMT and Summer time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TIME TO GMT and Summer time


  • Subject: Re: TIME TO GMT and Summer time
  • From: Ron Hunsinger <email@hidden>
  • Date: Sun, 10 Jul 2011 17:48:50 -0700

On Jul 10, 2011, at 5:22 PM, Ron Hunsinger wrote:
> No need to build or examine the timezone name. Just get the timezone numerically, then translate from base 60 to decimal:
>
> set tz to do shell script "date +%z"
> set tz to (tz - 40 * (text 1 thru -3 of tz)) * 60

My mistake. That just re-calculates TIME TO GM. Sorry for the waste of bandwidth. _______________________________________________
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: 
 >TIME TO GMT and Summer time (From: KOENIG Yvan <email@hidden>)
 >Re: TIME TO GMT and Summer time (From: Michelle Steiner <email@hidden>)
 >Re: TIME TO GMT and Summer time (From: Ron Hunsinger <email@hidden>)

  • Prev by Date: Re: TIME TO GMT and Summer time
  • Next by Date: Re: Moving Items
  • Previous by thread: Re: TIME TO GMT and Summer time
  • Next by thread: Executing AppleScripts in multithreaded Cocoa App
  • Index(es):
    • Date
    • Thread