os.Path.atime

 

The os.Path.atime method is returning the date and time of the latest access to the file specified. The syntax of the method is as follows:

 

CALL os.Path.atime(f_name) RETURNING atime

 

where:

·     f_name = a STRING variable specifying the name of the file,

·     atime = a STRING variable that stands for the date and time executed from the system clock when the file was accessed for the last time in the standard format YYYY-MM-DD HH:MM:SS

 

In the case of a failure, the function returns a NULL string.