Re: date/Snow Leopard changed
Re: date/Snow Leopard changed
- Subject: Re: date/Snow Leopard changed
- From: Doug McNutt <email@hidden>
- Date: Tue, 8 Sep 2009 12:27:34 -0600
At 10:05 -0400 9/8/09, Mark J. Reed wrote:
>The ability to parse arbitrary date strings is not the sort of thing I
>expect to be a core feature. Aside from the rather feature-heavy
>PHP, I can't think of any other language that comes with such
>functionality built-in. It's something you put in an add-on module,
>like Perl's Time::ParseDate or Python's dateutil or Ruby's optional
>Date class (as opposed to the core Time class).
Microsoft Excel tries very hard though it may not be a REAL programmer's language.
It obviously can't handle the infinity of options but, if you get the country of origin right, pretty much anything you see in the text of an incoming e-mail gets translated to a date/time value when you paste it into a cell.
And, of course, it sometimes gets it wrong especially with items like "Mon 9/8/09 25:61".
I don't know if Excel's AppleScript dictionary would help, but I doubt it.
--
--> From the U S of A, the only socialist country that refuses to admit it. <-
_______________________________________________
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