getfiledate_get_the_file_date_.htm
Navigation: Advanced Topics > Clarion Language Utilities >====== GetFileDate (Get the file date) ====== | |
GETFILEDATE( filename )
GETFILEDATE | Return the date stamp of a file |
filename | A string constant or variable containing the name of the file (and path, if applicable) |
GETFILEDATE returns the date stamp of the file specified by the filename parameter. The date is returned as a LONG that is deformatted and returned in an @D2 picture format. If the file is invalid or does not exist, GETFILEDATE returns a zero (0).
To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program:
INCLUDE('CWUTIL.INC'),ONCE
Return Data Type: LONG
Example:
Filedate = GETFILEDATE(LOC:Filename)
getfiledate_get_the_file_date_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1