Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: Yvan KOENIG <email@hidden>
- Date: Tue, 8 Sep 2009 20:12:02 +0200
Le 8 sept. 2009 à 19:58:24, Deivy Petrescu a écrit :
On Sep 8, 2009, at 11:28 AM, Yvan KOENIG wrote: Le 8 sept. 2009 à 16:03:10, Deivy Marck Petrescu a écrit :
Even if ISO Time is available, we will continue, for years, to receive dates in different local formats.
No we wouldn't...
set adate to text returned of (display dialog "Enter date:") set adate to adate as isotime ....
Are you saying that if I receive a document containing the date 12/31/1943 on my French system, parsing it with isotime will return 1943/12/31 ?
Yvan;
you can try this in your system setting the date to whatever format you want.
(current date) as «class isot» as string (chevrons in both cases)
---> "2009-09-08T13:57:10"
So you know how to get the year, month and day.
The problem is, as far as I know, you can not write a isodate!
And it's exactly what I was afraid of.
the entry must be a valid date so we can't use that to decipher a foreign date string.
We are back to the point of departure.
Yvan KOENIG (VALLAURIS, France) mardi 8 septembre 2009 20:11:57
|
_______________________________________________
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