I am new to MarkLogic and XQuery and wondering how to store date and time
such that it can be easily searched against. E.g., I would like to find all
the documents with a datetime that is less than a given value. I noticed
that XPath has xs:dateTime() constructor given a date and a time, so are we
supposed to split the datetime into date and time parts and store as two
elements? What about timezone information? Is it better to convert to
something like GMT and ignore it altogether in the query?

Thank you,
Hari
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to