FILEDATE

FILEDATE

Top  Previous  Next

Action

Returns the date of a file

 

 

Syntax

sDate = FILEDATE ()

sDate = FILEDATE (file)

 

 

Remarks

Sdate

A string variable that is assigned with the date.

File

The name of the file to get the date of.

 

This function works on any file when you specify the filename. When you do not specify the filename, it works on the current selected file of the DIR() function.

 

 

See also

INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE , DISKSIZE, GET , PUT, FILELEN , FILETIME , FILEDATETIME , DIR , WRITE , INPUT

 

 

ASM

Calls

_FileDateS ; with filename

_FileDateS0 ; for current file from DIR()

Input

X : points to the string with the mask

Z : points to the target variable

Output

 

 

 

 

 

Partial Example

Print "File demo"

Print Filelen("josef.img");" length"           ' length of file

Print Filetime("josef.img");" time"            ' time file was changed

Print Filedate("josef.img");" date"           ' file date