ES3.GetTimestamp
Description
Gets the date and time a file was last updated in the UTC timezone.
If using this on iOS you will need to declare that you are using File timestamp APIs using code C617
Parameters
filePath | [Optional] The relative or absolute path of the file we want to get the timestamp of. |
settings |
[Optional] The settings we want to use to override the default settings. |
Returns
A DateTime representing the UTC time the file was last updated.
Examples
C#
1 |
var dateTime = ES3.GetTimestamp("myFile.txt"); |
JS
1 |
var dateTime = ES3.GetTimestamp("myFile.txt"); |