ES3.GetTimestamp
public static DateTime GetTimestamp(string filePath, ES3Settings settings)
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
[table th=”0″]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.”[/table]
Returns
A DateTime representing the UTC time the file was last updated.
Examples
C#
var dateTime = ES3.GetTimestamp("myFile.txt");
JS
var dateTime = ES3.GetTimestamp("myFile.txt");