# fileTime -- get or set file modified time

## Synopsis

• Usage:
fileTime s or fileTime(t,s)
• Inputs:
• t, an integer, if present, the file-modified-time will be set to this value
• s, , the name of a file
• Outputs:
• an integer, the last modified date of the file with name s
• Consequences:
• fileTime(t,s) sets the last modified time for the file s to t, and returns null if no error occurs

## Description

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

## For the programmer

The object fileTime is .