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

KiXtart Command Reference

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")