MarkLogic 12 EA 1 Product Documentation
xdmp.filesystemFileSetTime

xdmp.filesystemFileSetTime(
   pathname as String,
   actime as Date,
   modtime as Date
) 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.filesystemFileSetTime("/path/foo.xml", xs.dateTime("2020-08-24T13:49:19-07:00"), xs.dateTime("2020-08-24T13:49:19-07:00"))
  => null
Powered by MarkLogic Server | Terms of Use | Privacy Policy