Core Function FileCreationTime
From Sputnik Wiki
FileCreationTime( <file>, <flag> )
Contents |
Description
Get the creation 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 array of the time.
Failure: Returns empty array.
Remarks
None.
Example
List ($MSec, $Sec, $Min, $Hour, $WDay, $MDay, $Mon, $YDay, $Year, $Ticks) = FileCreationTime("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);