Action
Returns the file date and time of a file
Syntax
Var = FILEDATETIME ()
Var = FILEDATETIME (file)
Remarks
Var |
A string variable or byte array that is assigned with the file date and time of the specified file |
File |
The name of the file to get the date time of. |
When the target variable is a string, it must be dimensioned with a length of at least 17 bytes.
When the target variable is a byte array, the array size must be at least 6 bytes.
When you use a numeric variable, the internal file date and time format will be used.
See also
INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE , GET , PUT , FILELEN , FILEDATE , FILETIME , DIR , WRITE , INPUT
ASM
Calls |
_FileDateTimeS |
_FileDateTimeS0 |
Input |
|
|
Output |
|
|
Calls |
_FileDateTimeB |
_FileDateTimeB0 |
Input |
|
|
Output |
|
|
Example
See fs_subfunc_decl_lib.bas in the samples dir.