Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 3 Sep 2009 08:42:06 -0400
And date<->string conversion in AS has always been locale-sensitive.
Things are better in SL, not worse.,
On 9/3/09, Shane Stanley <email@hidden> wrote:
> 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
>
--
Sent from my mobile device
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