Loading TOC...

xdmp.filesystemFileSetTime

xdmp.filesystemFileSetTime(
   $pathname as String,
   $actime as String,
   $modtime as String
) as null

Summary

Sets access and modification time for a file.

Parameters
$pathname Pathname of the file to set time for.
$actime New access time.
$modtime New modification time.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-file-set-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.