GetFileTime

This function returns the time a file was last modified.

Syntax

Parameters

Returns

Returns the time the specified file was last modified at.

Example

--Create a file
local path = "MyFile.txt"
FileSystem:CreateFile(path)

--This will print the file creation time
System:Print((FileSystem:GetFileTime(path)))