• 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: Rép: New to applescript: year of
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rép: New to applescript: year of


  • Subject: Re: Rép: New to applescript: year of
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 28 Sep 2006 09:00:07 -0400

On 9/28/06, Yvan KOENIG <email@hidden> wrote:
Here is a simple variant:
...
set startDate to date ("01/01/" & myYear)
set endDate to date ("01/01/" & (myYear + 1))

Which eliminates the localization independence of has's version. That code fails OMM, for instance, because my short-date format is set to ISO 8601 (yyyy-mm-dd.)


-- 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: This email sent to email@hidden
References: 
 >Rép: New to applescript: year of (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Rép: New to applescript: year of
  • Next by Date: Re: New to applescript: year of
  • Previous by thread: Rép: New to applescript: year of
  • Next by thread: Rép: New to applescript: year of
  • Index(es):
    • Date
    • Thread