Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Files.SetCreationDate

Sets the file creation date.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 7.2 Yes Yes Yes No Yes

MBS( "Files.SetCreationDate"; Path; TimeStamp )

Parameters

Parameter Description Example value
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


Files.SetComment   -   Files.SetFinderLabel

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins