Name | FTPit_LocalFileTimestamp |
---|
Description | Returns the modification, or optionally the creation, timestamp of a local file.
|
---|
Format | FTPit_LocalFileTimestamp ( File ; CreationTimestamp ) |
---|
Required Parameters | File The local file to return the timestamp of. [This can be a full path or a path relative to the current local directory.]
|
---|
Optional Parameters | - CreationTimestamp
If True, this returns the creation timestamp instead of the modification timestamp. [Default is False.]
|
---|
Examples | - Example 1
Returns the modification timestamp of the "data.txt" file on Mac. FTPit_LocalFileTimestamp ( "~/Desktop/Data.txt" )
- Example 2
Returns the modification timestamp of the "data.txt" file on Windows. FTPit_LocalFileTimestamp ( "C:\Users\Bob\Desktop\Data.txt" )
- Example 3
Returns the creation timestamp of the "data.txt" file on Windows. FTPit_LocalFileTimestamp ( "C:\Users\Bob\Desktop\Data.txt" ; True )
|
---|