Date problems
Date problems
- Subject: Date problems
- From: Reinhold Penner <email@hidden>
- Date: Sun, 25 Aug 2002 21:36:32 -1000
I need help. I'm getting a date back from a curl query in the form of
"Sun, 25 Aug 2002 16:24:16". Now in Jaguar everything is hunky dory,
since
set myDate to "Sun, 25 Aug 2002 16:24:16"
return date myDate
--> date "Sunday, August 25, 2002 16:24:16"
In 10.1.5, I get "Can't make "Sun, 25 Aug 2002 16:24:16" into a date".
So what I need is a simple and efficient way to transform the myDate
string into something that can be coerced into a date on both OS.
There's an additional headache with this, since I have no idea how
language-specific these date coercions are anyway. For example, if I
process myDate to something that can be coerced to a date on my US
system, will that also work on a user's computer that has French or
German date settings? If not, how can I convert the above myDate into
something that every Mac can recognize as a date?
TIA for any help, -Reinhold
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.