Re: date of question
Re: date of question
- Subject: Re: date of question
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 14 Oct 2005 11:39:40 -0400
On 10/14/05,
Emile Schwarz <
email@hidden> wrote:
When I put the original AppleScript, my French Mac OS X (10.3.9) says:
set EventStartDate to date "vendredi 14 octobre 2005 10:20:05" -- see (*)
set EventEndDate to (EventStartDate) + 3600
Interesting. 10/20/05 is clearly illegal in DD-MM-YY since there
is no month 20 (*), but I find the fact that it chose to interpret it
as 10:20:05 fascinating. Is the / ever used to separate hours,
minutes, and seconds in French use?
As I said in my original response, I have my computer set up to use
ISO-8601 format dates, so "10/20/05" doesn't work OMM (and I get an
error, not today at 10:20:05). I have to use "2005-10-20", which
is nicely unambiguous on both sides of the Atlantic.
(*) Although there are many applications of date processing where a
forgiving application that accepts such
"invalid" strings is desirable. Such apps would interpret "month
20 of
2005" as equivalent to "month 8 of 2006", so 10/20/05 would come out
as 10 Aout 2006, to the utter mystification of anyone who didn't
know what was going on. :)
--
Mark J. Reed <
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:
This email sent to email@hidden