Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets the file creation date.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 7.2 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native path to the file. | "/Users/cs/Desktop/test.txt" |
TimeStamp | The new creation date and time. | Get(CurrentTimeStamp) |
Returns OK or error.
Set timestamp to now:
MBS( "Files.SetCreationDate"; "C:\Users\Administrator\Desktop\test.png"; Get(CurrentHostTimeStamp))
This function is free to use.
Created 19th April 2017, last changed 27th December 2021