CMIS Connector 12.12

# 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

Argument | Description
--- | ---
`path` | (string) The path or filename of the file.
`created` | (string) The date created (Windows only).
`modified` | (string) The date modified.
`accessed` | (string) The date last accessed.
`format` | (string) The format of the dates supplied. The format parameter uses the same values as other IDOL components. The default is "EPOCHSECONDS"

## Returns

(Boolean). A Boolean indicating whether the operation was successful.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL CMIS Connector 12.12

Topic Title: file_setdates