FILE::ATIME 1g 2023-11-26 laplante@plcb.ca GOWEB/FILE
title: “FILE::ATIME”
scategory: “GOWEB/FILE”
version: “1.0.0”
date: “2023-11-26”
author: “laplante@plcb.ca”
Name
file::atime - Return the access time of a file or directory
Synopsis
- file::atime(file[, error: variable])
- atime(file[, error: variable])
Description
The atime
function returns the last access time of a file or directory in time format.
Parameters
- file : Path to the file or directory.
- error : Optional variable to capture an error if the file does not exist.
Examples
res={{
atime("/", "/");
}}.
return
res=[2023-11-02 23:44:56 +0100 CET, 2023-11-02 23:44:56 +0100 CET].
Author
See also
Version
- 1.0.0 2023-11-26 laplante@plcb.ca initial version