
xdmp:document-timestamp( $uri as xs:string ) as xs:integer?
Returns timestamp of the most recent visible update to a document, lock, or property. Returns the empty sequence if no document, lock, or property exists.
| Parameters | |
|---|---|
| uri | The URI of the document, lock, or property. |
xdmp:document-timestamp("example.xml")
=> 13384772182196660
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.