MarkLogic 12 EA 1 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy