Core Function FileWriteTime
From Sputnik Wiki
FileWriteTime( <file>, <flag> )
Contents |
Description
Get the last write time of a file.
Parameters
file
File name.
flag
If the flag is above zero the time will be in UTC.
Return Value
Success: Returns 1
Failure: Returns 0.
Remarks
None.
Example
List ($MSec, $Sec, $Min, $Hour, $WDay, $MDay, $Mon, $YDay, $Year, $Ticks) = FileWriteTime("sputnik.exe"); println("MSec: " . $MSec); println("Sec: " . $Sec); println("Min: " . $Min); println("Hour: " . $Hour); println("WDay: " . $WDay); println("MDay: " . $MDay); println("Mon: " . $Mon); println("YDay: " . $YDay); println("Year: " . $Year); println("Ticks: " . $Ticks);