FileTime$

File management function.

The FileTime$ function returns the modification time of the specified file.

Syntax

var$=FileTime$(<filename>)

Parameters

<filename>, string, name of the file.

Return value

var$, string, modification time (format hh:mm:ss). If <filename> is empty or the file does not exist, an empty string is returned.

Example

 

a$=FileTime$("myfile.txt")