fileFileTime

Returns the time of day a file was last written. Takes a filename. Returns the time in the same form as sysCurrentTime ("18:30:20"), in local time, or "" if the file doesn't exist.

File IO

Parameters & Returns

Parameters

filename String

Returns

String

Quick Summary

Returns the time of day a file was last written. Takes a filename. Returns the time in the same form as sysCurrentTime ("18:30:20"), in local time, or "" if the file doesn't exist.

Technical Exegesis...

Returns the time of day the file was last written (changed), in the same form as sysCurrentTime: "HH:MM:SS", 24 hour, for example "18:30:20", in local time. Returns "" if the file doesn't exist. The file doesn't need to be open.

Use fileFileDate for the date, and fileFileStamp to compare two files or to work out how old one is.

Web: a file saved before version 1.2g has no time until it's written again, and gives "".
PlayStation: there's no clock, so times count on from when the disc was built.

Example

Example.bam
Print "settings.ini was last saved at " & fileFileTime("settings.ini")