Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - filedate() return the date stamp of the specified file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 filedate()          Return the date stamp of the specified file
------------------------------------------------------------------------------
 Declaration
   file.hdr

 Syntax
   func date filedate extern
   param const char cFileName

 Arguments
   cFileName is the name of the file to retrieve information about.

 Return
   The date when the file was last modified. If the file does not exist,
   or a subdirectory or volume label name is passed, then an empty date
   is returned.

 Description
   The filedate() function returns the date stamp of the specified disk
   file, cFileName.

 Example
   #define EXAMPLE_FILE
   #include example.hdr

   proc Test_filedate
   if .not. isempty( argv( 1 ) )
      ? "Date of", argv( 1 ), "is", filedate( argv( 1 ) )
   else
      ? "Supply a file name"
   endif
   endproc

   proc main
   Test_filedate()
   endproc

See Also: fileattrib() filesize() filetime()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson