| Name | CNSImage_File_Timestamp |
|---|
| Description | Returns the modification, or optionally the creation, timestamp of a file.
|
|---|
| Return Type | Text |
|---|
| Format | CNSImage_File_Timestamp ( File ; CreationTimestamp ) |
|---|
| Required Parameters | File The path and file name of the file you need the timestamp of.
|
|---|
| Optional Parameters | - CreationTimestamp
If True, return the creation timestamp instead of the modification timestamp.
|
|---|
| Examples | - Example 1
Returns the modification timestamp of the "data.txt" file on Mac. CNSImage_File_Timestamp ( "~/Desktop/Data.txt" )
- Example 2
Returns the modification timestamp of the "data.txt" file on Windows. CNSImage_File_Timestamp ( "C:\Users\Bob\Desktop\Data.txt" )
- Example 3
Returns the creation timestamp of the "data.txt" file on Windows. CNSImage_File_Timestamp ( "C:\Users\Bob\Desktop\Data.txt" ; True )
|
|---|