Name | SMTPit_File_Timestamp |
---|
Description | Returns the modification, or optionally the creation, timestamp of a file.
|
---|
Return Type | Text |
---|
Format | SMTPit_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. SMTPit_File_Timestamp ( "~/Desktop/Data.txt" )
- Example 2
Returns the modification timestamp of the "data.txt" file on Windows. SMTPit_File_Timestamp ( "C:\Users\Bob\Desktop\Data.txt" )
- Example 3
Returns the creation timestamp of the "data.txt" file on Windows. SMTPit_File_Timestamp ( "C:\Users\Bob\Desktop\Data.txt" ; True )
|
---|