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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets the file modification date.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native path to the file. | "/Users/cs/Desktop/test.txt" |
TimeStamp | The new modification date and time. | Get(CurrentTimeStamp) |
Returns OK or error.
Set time to now minus 24h:
MBS( "Files.SetModificationDate"; "/Users/cs/Desktop/test.rtf"; Hole ( HostZeitstempel ) - 24*3600 )
Set timestamp to now:
MBS( "Files.SetModificationDate"; "C:\Users\Administrator\Desktop\logo.png"; Get(CurrentHostTimeStamp))
This function checks for a license.
Created 19th April 2017, last changed 27th December 2021