Coerce Text to Date
Coerce Text to Date
- Subject: Coerce Text to Date
- From: Chris Prew <email@hidden>
- Date: Wed, 11 Dec 2002 15:35:36 -0600
Hi, I have a text variable in a date format that I need to convert to a
true date format so i can manipulate it as a date. Whats the best way
to do this? I've tried lots of ways with no success.
My text variable is named the_text, and the value is (for example)
"10/17/2002". So...
set the_new_date to date (the_text)
doesn't seem to work, nor does (the_text) as date or anything else.
I've also tried turning the text into a single list item with no
success.
This is probably a really simply question, but I can't figure it out.
Thanks in advance
Chris
_______________________________________________
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.