Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > file manipulation > fileTime
next | previous | forward | backward | up | index | toc

fileTime -- get or set file modified time



The value is the number of seconds since 00:00:00 1970-01-01 UTC, the beginning of the epoch, so the number of seconds ago a file or directory was modified may be found by using the following code.
i1 : currentTime() - fileTime "."

o1 = 35

See also

For the programmer

The object fileTime is a compiled function.