os.Path.atime

Returns the time of the last file access.

Syntax

os.Path.atime(
   fname STRING)
  RETURNING result STRING
  1. fname is the name of the file.

Usage

The function returns a string containing the last access time for the specified file, in the standard format 'YYYY-MM-DD HH:MM:SS'.

If the function fails, it returns NULL.