I have the following function(originally written for HP-UX FORTRAN) that returns the creation date of a file
CHARACTER*44 FUNCTION FILE_TIME(FILE) C C Machine-specific subroutine to return creation date of a file C HP version C CHARACTER*(*) FILE CHARACTER*24 TIME C INTEGER IFILE_INFO(12) CHARACTER*24 Ctime C ---------------------- C see "man 3f stat" CALL STAT(FILE,IFILE_INFO) c see "man 3f ctime" TIME=Ctime( IFILE_INFO(10) ) C FILE_TIME='File Creation Date: '//TIME RETURN END
(Sorry if the code is wrapping; I don't remember the trick to avoid wrapping)
After re-compiling some programs that use this function (previously compiled with an earlier version of CVF [not sure of 5.0 or 6.1]), I noticed that the creation dates of some files from 1998 now appear as one hour earlier. The time calculated wih CVF 6.6A is inconsistent with the time displayed by the OS.
Is this a known bug? Is it CVFs or in W98s fault? Fortunately, this is not a serious bug. Am I doing anything wrong?