Loading TOC...

MarkLogic Server 11.0 Product Documentation
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');
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.