Lua Methods Reference > General Methods > file_setdates

file_setdates
The file_setdates method sets the metadata for the file specified by path. If the format argument is not specified, the dates must be specified in seconds since the epoch (1st January 1970).
Syntax
file_setdates( path, created, modified, accessed [, format] )
Arguments
 
(string) The format of the dates supplied. The format parameter uses the same values as other Autonomy products. The default is "EPOCHSECONDS"
Returns
(Boolean). A Boolean indicating whether the operation was successful.