Loading TOC...

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")
  => ()

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • I don't see the privilege "http://marklogic.com/xdmp/privileges/xdmp-filesystem-file-get-time" in the list https://uploads.disquscdn.com/images/50c6c1110ba382408700c7c61d2f24097f5de76f59f57611c66df84cad926fdc.jpg