GLBasic User Manual

Main sections

GETFILETIME$()

time$ = GETFILETIME$(file$)



Returns the date of the last change of a file. The format is the same as in PLATFORMINFO$("TIME").

LOCAL file$ = PLATFORMINFO$("TEMP") + "test.txt"
OPENFILE(0, file$, FALSE)
WRITELINE 0, "Test"
CLOSEFILE 0
PRINT GETFILETIME$(file$), 0,0
SHOWSCREEN
MOUSEWAIT

See also...