Re: date/Snow Leopard changed
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