• 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 13:46:33 +0000

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


 _______________________________________________
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: "koenig.yvan" <email@hidden>
    • Re: 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>)

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