Re: Coping with Date format variations
Re: Coping with Date format variations
- Subject: Re: Coping with Date format variations
- From: Tommy Bollman <email@hidden>
- Date: Mon, 24 May 2010 06:37:37 +0200
Den 24. mai 2010 kl. 06.15 skrev Michelle Steiner:
> On May 23, 2010, at 3:12 PM, Gil Dawson wrote:
>
>> Is there a way to code a literal date into a script in such a way that the same text would compile on both machines?
>
> set foo to current date
> set {month of foo, day of foo, year of foo, time of foo} to {October, 31, 2015, 0}
> foo
>
> -- Michelle
>
> --
> "Beware the march of ideas."
>
> _______________________________________________
> 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
Yes, Michelle is absolutely right. (And she has a nice reply to field too !)
You may also want to have a look at this post over at macscripter : http://macscripter.net/viewtopic.php?pid=128288#p128288
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
When angry, count four; when very angry, swear.
-- Mark Twain
_______________________________________________
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