• 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: Coping with Date format variations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Coping with Date format variations (From: Gil Dawson <email@hidden>)
 >Re: Coping with Date format variations (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Coping with Date format variations
  • Next by Date: Re: Coping with Date format variations
  • Previous by thread: Re: Coping with Date format variations
  • Next by thread: Re: Coping with Date format variations
  • Index(es):
    • Date
    • Thread