Re: month contants and dates...
Re: month contants and dates...
- Subject: Re: month contants and dates...
- From: Luther Fuller <email@hidden>
- Date: Sun, 17 May 2015 09:00:13 -0500
On May 17, 2015, at 8:04 AM, Jean-Christophe Helary wrote: Now, what I am trying to do is get the number of the month of an Applescript date and for that I first create a list of English months and then run a loop and check if my "month of [date]" is equal to a list member. If yes, I assign the index value of the match to a
I just tried this and it seems to give the result you are asking for ...
set thisDate to current date set monthIndex to month of thisDate as integer
|
_______________________________________________
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