<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > File > FILE: functions working on files > FILE_GetDateTimeStamp |
Description
Returns a DateTime string for a given file.
Returned date depends on nChoice parameter.
Syntax
s = FILE_GetDateTimeStamp(sFile, nChoice)
Returns
String in the format of: YYYYMMDDHHMMSS
Parameters
Name |
Type |
Optional |
Meaning |
sFile |
String |
No |
The full file name (path + file name) of the file you want the Date |
nChoice |
Number |
No |
Specify which date to be retrieved. Could be only one of following values:
%DATE_TIME_FILE_CREATION %DATE_TIME_LAST_FILE_ACCESS %DATE_TIME_LAST_FILE_WRITE |
Remarks
Restrictions
See also
Examples