Core Function FileAccessTime

From Sputnik Wiki
Jump to: navigation, search
FileAccessTime( <file>, <flag> )

Contents

Description

Get the last access time of a file.

Parameters

file

File name.

flag

If the flag is true 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) = FileAccessTime("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);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox