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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Files.SetCreationDate

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
MBS( "Files.SetCreationDate"; Path; TimeStamp )   More

Parameters

Parameter Description Example
Path The native path to the file. "/Users/cs/Desktop/test.txt"
TimeStamp The new creation date and time. Get(CurrentTimeStamp)

Result

Returns OK or error.

Description

Sets the file creation date.

Examples

Set timestamp to now:

MBS( "Files.SetCreationDate"; "C:\Users\Administrator\Desktop\test.png"; Get(CurrentHostTimeStamp))

See also

Release notes

Blog Entries

Created 19th April 2017, last changed 19th April 2017


Files.SetComment - Files.SetFinderLabel

Feedback: Report problem or ask question.