Loading TOC...

xdmp.filesystemFileGetTime

xdmp.filesystemFileGetTime(
   pathname as String
) as xs:dateTime[]?

Summary

Returns access and modification time for a file.

Parameters
pathname Pathname of the file to get time for.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-file-get-time

Example

  xdmp.filesystemFileGetTime("/path/foo.xml")
  => access and modification time for this file

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