RosettaCodeData/Task/File-modification-time/Emacs-Lisp/file-modification-time.l
2015-02-20 00:35:01 -05:00

5 lines
201 B
Text

(nth 5 (file-attributes "input.txt")) ;; mod date+time
(set-file-times "input.txt") ;; to current-time
(set-file-times "input.txt"
(encode-time 0 0 0 1 1 2014)) ;; to given date+time