Category: File IO
Syntax:
fileFileDate:String(filename:String)
String
Returns the date a file was last written.
Takes a filename.
Returns the date in the same form as sysCurrentDate ("04 Nov 2026"), in local time, or "" if the file doesn't exist.
View detailed documentation online
Local f:Int = fileWriteFile("save.dat")
fileWriteLine(f, "level 3")
fileCloseFile(f)
Print "Saved on " & fileFileDate("save.dat") & " at " & fileFileTime("save.dat")
BambooBasic © 2026 Michael Denathorn