FILETIME
Action
Returns the time of a file
Syntax
sTime = FileTime ()
sTime = FileTime (file)
Remarks
Stime |
A string variable that is assigned with the file time. |
File |
The name of the file to get the time 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.
ASM
Calls |
_FileTimeS ; with file param |
_FileTimeS0 ; current file |
Input |
X : points to the string with the mask |
Z : points to the target variable |
Output |
|
|
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