GetFileTime
This function returns the time a file was last modified.
Syntax
- number GetFileTime(string path)
Parameters
- path: the path to the file to check the time of.
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)))