os.Path.atime

Returns the time of the last file access.

Syntax

os.Path.atime(
   path STRING)
  RETURNS STRING
  1. path is the path to a 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.