Re(2): Changing current date format
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