Re: Re(2): Changing current date format
Re: Re(2): Changing current date format
- Subject: Re: Re(2): Changing current date format
- From: "koenig.yvan" <email@hidden>
- Date: Sun, 19 Jan 2014 19:30:01 +0100
Le 19/01/2014 à 19:16, JF <email@hidden> a écrit :
> 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
>> $
>>
I'm sure that the vanilla answers are faster than the do shell script ones but what is really surprising
is that you are selecting answers translating
2014/01/19 into 19Jan2014
after asking for the result 17Jan2014
Yvan KOENIG (VALLAURIS, France) dimanche 19 janvier 2014 19:29:24
_______________________________________________
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