• 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): Changing current date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): Changing current date format


  • Subject: Re(2): Changing current date format
  • From: JF <email@hidden>
  • Date: Sun, 19 Jan 2014 18:16:10 +0000

Thank you all for your suggestions.

These ones worked best for me:
set subject of foo to "Invoice dated " & (do shell script "date +%d%b%Y")
set subject of foo to "Invoice dated " & (do shell script "date +'%d %B %Y'")

Sun, 19 Jan 2014 11:43:39 -0500, Neil Faiman  wrote:

>
>On Jan 19, 2014, at 11:17 AM, JF <email@hidden> wrote:
>
>> How can I set the current date to read: 17Jan2014 or 17 January 2014?
>> and without the time
>
>$ date +'%d%b%Y'
>19Jan2014
>$ date +'%d %B %Y'
>19 January 2014
>$
>
> _______________________________________________
>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: Changing current date format
      • From: Shane Stanley <email@hidden>
    • Re: Re(2): Changing current date format
      • From: "koenig.yvan" <email@hidden>
  • Prev by Date: Re: Changing current date format
  • Next by Date: Re: Re(2): Changing current date format
  • Previous by thread: Re: Changing current date format
  • Next by thread: Re: Re(2): Changing current date format
  • Index(es):
    • Date
    • Thread