Re: parsing Unix date
Re: parsing Unix date
- Subject: Re: parsing Unix date
- From: Bill <email@hidden>
- Date: Sat, 10 Jan 2004 13:21:25 +0800
That's not necessary. AppleScript is tremendously versatile about
understanding dates (almost too versatile).
For example:
set x to "<td align=right><font face='Arial'
size='2'>8-Jan-2004</font></td></tr>
"
date x
-- error message
set y to "<td align=right><font face='Arial'
size='2'>8-Jan-2004</font><"
date y
-- date "Wednesday, 02 January 2008 00:00:00"
set z to "font face='Arial' size='2'>8-Jan-2004</font></td></tr>
"
date z
-- date "Wednesday, 02 January 2008 00:00:00"
Really versatile :)
bill
_______________________________________________
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.