Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

GetFileTime( )

Action: Returns the date and time information of a file.
 
Syntax: GETFILETIME ("file name")
 
Parameters:

File name

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

Remarks: The information returned represents the time the file was last written to.
 
Returns: A string representing the date and time of the file in the format “YYYY/MM/DD HH:MM:SS”.
 
See Also: CompareFileTimes( ), GetFileAttr( ), GetFileSize( ), GetFileVersion( )
 
Example:

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