MarkLogic 10 Product Documentation
xdmp:filesystem-file-get-time

xdmp:filesystem-file-get-time(
   $pathname as xs: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:filesystem-file-get-time("/path/foo.xml")
  => access and modification time for this file
Powered by MarkLogic Server | Terms of Use | Privacy Policy