See Also: Set_File_Mod_Time
Returns the date and time of the last time a file was changed.
Get_File_Mod_Time {file-name} To {date-var} [{hour-var} [{minute-var} [{second-var}]]]
Get_File_Mod_Time returns the date and time of the last modification of a file. This command moves the date of the last modification into the first variable {date-var} after the keyword To. Optionally, the Get_File_Mod_Time command retrieves the time stamp into the variables that follow the field that obtains the last modification date.
Here is an example that gets the date and time stamp of hello.txt:
Date dFileDate
Integer iFileHour iFileMinute iFileSecond
// Get the values.
Get_File_Mod_Time "Hello.Txt" to dFileDate iFileHour iFileMinute iFileSecond
If the file is not found, error 4358 "Rawfile Command Error" is reported.