> >> do %newsmaster5.r Script: "Untitled" (none) 22-Feb-2000/15:33:09
> 22-Feb-2000/16:49:03+1:00 22-Feb-2000/17:00:45+1:00
> 22-Feb-2000/17:03:48+1:00 ** Script Error: Invalid argument: Date:
> 22 Feb 2000 20:27: 56 +0200. ** Where: to date! value >>
> Is there something about the +0200 that to-date doesn't like?
> -Ryan
Opps, sorry. I think the problem is the "Date: " portion of the
third date string type. This oughta do:
get-news-date: func [
date-str [string!] "One of the above date strings"
][
date-str: any [
find/tail date-str ", "
find/tail date-str "Date: "
date-str
]
to-date date-str
]
-jeff