• 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(2): do shell script date with last month's date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Re(2): do shell script date with last month's date
      • From: Christopher Stone <email@hidden>
References: 
 >do shell script date with last month's date (From: JF <email@hidden>)
 >Re: do shell script date with last month's date (From: "koenig.yvan" <email@hidden>)
 >Re(2): do shell script date with last month's date (From: JF <email@hidden>)
 >Re: do shell script date with last month's date (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: do shell script date with last month's date
  • Next by Date: Re: Re(2): do shell script date with last month's date
  • Previous by thread: Re: do shell script date with last month's date
  • Next by thread: Re: Re(2): do shell script date with last month's date
  • Index(es):
    • Date
    • Thread