Core Function FileCreationTime

From Sputnik Wiki
Revision as of 11:10, 29 August 2013 by UberFoX (Talk | contribs)
Jump to: navigation, search
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);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox