next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > file manipulation > fileTime

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 = 57

See also

For the programmer

The object fileTime is a compiled function.