tumblr tracker

GetLastModifiedTime

Library Reference ›› File ››
Parent Previous Next

File.GetLastModifiedTime


Namespace: File


Returns the last modified date and time of the file.


retval = File.GetLastModifiedTime(FilePath)


Parameters:

- FilePath; string constant or variable containing the file path to check the last modified time


Returns:

Last modified date and time of the file; datetime value.


Example


$val = File.GetLastModifiedTime("C:\TEMP\somefile.txt");