Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  os.Path methods  >  os.Path.mtime()

os.Path.mtime

The os.Path.mtime method is used to return the time of the latest modification of the file. The syntax of the function is as follows:

 

CALL os.Path.mtime(f_name) RETURNING mtime

 

where:

·         f_name = a string containing the file name,

·         mtime = a string containing the time of the last f_name modification in the standard format YYYY-MM-DD HH:MM:SS.

 

In the case of a failure NULL is returned.