• 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/Snow Leopard changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date/Snow Leopard changed


  • Subject: Re: date/Snow Leopard changed
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 03 Sep 2009 16:42:49 +1000
  • Thread-topic: date/Snow Leopard changed

On 3/9/09 4:34 PM, "LuKreme" <email@hidden> wrote:

> So, as a script writer, you are screwed on setting a time unless you
> manage to guess right as to what the time format is set to on the
> target machine?

Not at all. You just do it the way the docs outline. For example, if you
want "6:01", you do something like:

set theDate to current date
set hours of theDate to 6
set minutes of theDate to 1
return theDate

--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>


 _______________________________________________
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

  • Follow-Ups:
    • Re: date/Snow Leopard changed
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: date/Snow Leopard changed (From: LuKreme <email@hidden>)

  • Prev by Date: Re: date/Snow Leopard changed
  • Next by Date: Re: Apple's own template example is broken
  • Previous by thread: Re: date/Snow Leopard changed
  • Next by thread: Re: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread