Re(4): Changing current date format
Re(4): Changing current date format
- Subject: Re(4): Changing current date format
- From: JF <email@hidden>
- Date: Sun, 19 Jan 2014 18:36:06 +0000
I was asking for the current date. Did not realise that more time had passed than I thought and it is now 19 January 2014.
Thx for your help.
Sun, 19 Jan 2014 19:30:01 +0100, koenig.yvan wrote:
>
>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:
>@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