FileDate(
path:path,
[string:flags]
)
→ date
Directory Opus 13.22.4 and above.
Returns the timestamp of the specified file or folder.
By default, the modified time is returned, in local time.
The optional flags are:
| a | accessed date |
| c | created date |
| m | modified date (the default) |
| u | UTC instead of local time |
Example:
FileDate("C:\Program Files") as "d#yyyy-MM-dd t#HH.mm.ss"
--> 2026-04-14 09.21.49
FileDate("C:\Program Files", "mu") as "t#HH.mm.ss"
--> 07.21.49