[XQZone General] convert date into marklogic date
Nizamuddin, Rashid
rnizamuddin at edmunds.com
Wed Jul 13 10:57:09 PDT 2005
I got a new problem now
I have the dates entered into my xml document as
<date-time>2005-07-12T18:14:21.236-07:00</date-time>
<date-time>2005-07-12T18:14:30.971-07:00</date-time>
These are in string format. I need to get the max of the date among the
two.
I don't think so the max function works here since both of them are
stored a strings. Is there a way I can convert this into date and then
run the max function?
Any help...
Rashid
More information about the General
mailing list