RosettaCodeData/Task/File-modification-time/PicoLisp/file-modification-time.l

6 lines
194 B
Plaintext

(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"