I don't think the Fortran standard had a function for date and time until Fortran90 (DATE_AND_TIME intrinsic). Some suppliers of Fortran77 had extensions for the date and time but you'll need to find it in your compiler documentation.
Microsoft/Digital/Compaq/HP Fortran has two built-in subroutines to return the time and date. Check the "help" on "GETDAT" and "GETTIM". You typically call these as follows:
C
CALL GETDAT( IYR, IMON, IDAY )
CALL GETTIM( IHR, IMIN, ISEC, IHUND )
C