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 - filetime() return the time stamp of the specified file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 filetime()          Return the time stamp of the specified file
------------------------------------------------------------------------------
 Declaration
   file.hdr

 Syntax
   func char filetime extern
   param const char cFileName

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

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

 Description
   The filetime() function returns the time stamp of the specified disk
   file, cFileName.

 Example
   #define EXAMPLE_FILE
   #include example.hdr

   proc Test_filetime
   if .not. isempty( argv( 1 ) )
      ? "Time of", argv( 1 ), "is", filetime( argv( 1 ) )
   else
      ? "Supply a file name"
   endif
   endproc

   proc main
   Test_filetime()
   endproc

See Also: fileattrib() filedate() filesize()

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