Loading TOC...

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

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