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

5 lines
180 B
Text

declare
[Path] = {Module.link ['x-oz://system/os/Path.ozf']}
Modified = {Path.mtime "input.txt"} %% posix time
in
{Show {OsTime.localtime Modified}} %% human readable record