GETFILETIME

Action

Returns the date and time information of a file.

 

Syntax

GETFILETIME ("file name")

 

Parameter

File name

Identifies the file for which you want to retrieve the date and time information.

Returns

A string representing the date and time of the file in the format "YYYY/MM/DD HH:MM:SS".

Remarks

The information returned represents the time the file was last written to.

 

Example

$Result = GetFileTime(@LDRIVE + "\Kix32.exe")