Re: file/directory creation date and time

"Alexey Veretennikov (as alexey dot veretennikov at protonmail dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <ntOsNqY5-mp8AntPXkyoEMZ7rr6qBVBnAVRRAyParChaY04GQKr5fLUkA-n0SqgljTJRfyBEZ6JX-_oTysOeGNJISuACpjTwwEtYKGU_BFk=@protonmail.com>
You can use something like this (decode-universal-time (file-create-date "myfile.txt")),

or on *nix

(system:file-stat-last-change (system:get-file-stat "myfile.txt")) to get Epoch timestamp


BR,
/Alexey


On Friday, December 5th, 2025 at 04:21, John DeSoi (as john at desoi dot dev) <[email protected]> wrote:

> Does LispWorks have a function to get the creation timestamp for a pathname? If not, what is the next best alternative?
> 
> Thanks,
> 
> John DeSoi, Ph.D.
> 
> 
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> [email protected]
> http://www.lispworks.com/support/lisp-hug.html

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.