cpf.documentGetLastUpdated

cpf.documentGetLastUpdated(
   doc as String
) as Date?

Summary

Determine the date and time of the last update to the document's content, if any.

Parameters
doc The URI of the document.

Example

const cpf = require('/MarkLogic/cpf/cpf');

cpf.documentGetLastUpdated('/myDocs/example.xml');
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy