fileFileDate

Category: File IO

Syntax:

fileFileDate:String(filename:String)


Parameters

Returns

String



Summary

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



Example
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