Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:filesystem-file-set-time

xdmp:filesystem-file-set-time(
   $pathname as xs:string,
   $actime as xs:dateTime,
   $modtime as xs:dateTime
) as empty-sequence()

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-set-time("/path/foo.xml", xs:dateTime("2020-08-24T13:49:19-07:00"), xs:dateTime("2020-08-24T13:49:19-07:00"))
  => ()

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