Re: Re(2): do shell script date with last month's date
Re: Re(2): do shell script date with last month's date
- Subject: Re: Re(2): do shell script date with last month's date
- From: "koenig.yvan" <email@hidden>
- Date: Fri, 14 Feb 2014 15:09:24 +0100
This does work yvan, but the result is: Friday, 31 January 2014 13:45:09
when all I wanted was "January 2014"
Fri, 14 Feb 2014 14:35:03 +0100, koenig.yvan wrote:
set fake to current date set day of fake to 1 set fake to fake - (1 * days) set myString to (month of fake as text) & space & year of fake
My guess is that you dropped an instruction.
When I run the script I get this log rerport :
tell current application current date --> date "vendredi 14 février 2014 15:08:43" end tell Résultat : "January 2014"
Yvan KOENIG (VALLAURIS, France) vendredi 14 février 2014 15:09:18
|
_______________________________________________
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