This function retrieves the date on which a file or a directory was last modified.
Context
Windows client,
Windows server,
Mobile client,
Mobile server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client.
Parameters
ALPHA(n) |
File |
Name of the file to be tested. |
BOOL |
FileExists |
*TRUE if the file exists Output parameter. |
DATE |
ModifDate |
Local date that the file was modified. Output parameter. |
TIME |
TimeModif |
Local time that the file was modified. Output parameter. |
Example
ALPHA(256) |
File |
DATE |
ModifDate |
TIME |
TimeModif |
BOOL |
FileExists |
|
|
* Displays the date and time for the 'c:\temp\test.txt' file |
|
File |
= 'c:\temp\test.txt' |
CALL_DLL |
'VaToolBx' 'VaToolBxGetFileTime' File FileExists ModifDate ModifTime |
IF NOT FileExists |
|
* Error processing... |
|
END |
|
List of the VaToolBx functions by topic