RosettaCodeData/Task/File-modification-time/PicoLisp/file-modification-time.l
2023-07-01 13:44:08 -04:00

5 lines
194 B
Text

(let File "test.file"
(and
(info File)
(prinl (stamp (cadr @) (cddr @))) ) # Print date and time in UTC
(call 'touch File) ) # Set modification time to "now"