Re(2): do shell script date with last month's date
Re(2): do shell script date with last month's date
- Subject: Re(2): do shell script date with last month's date
- From: JF <email@hidden>
- Date: Fri, 14 Feb 2014 14:02:33 +0000
I have set all of Yvan's code just above my script, and my script refers to it as:
set msg to (make new message with properties {subject:"Factsheets for " & fake, ..."
The resulting email subject is:
Factsheets for Friday, 31 January 2014 13:59:22
Fri, 14 Feb 2014 07:52:58 -0600, Christopher Stone wrote:
>On Feb 14, 2014, at 07:46, JF <email@hidden> wrote:
>> 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
>______________________________________________________________________
>
>Hey James,
>
>That shouldn't be possible if you're running all the way through myString.
>
>--
>Best Regards,
>Chris
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>AppleScript-Users mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>@fmail.co.uk
>Archives: http://lists.apple.com/archives/applescript-users
>
>This email sent to 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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden