Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/10258

From BetaArchive Wiki

FORTRAN TIME and DATE functions

PSS ID Number: Q10258 Article last modified on 02-19-1988

3.20 XENIX

Question: Are there any TIME or DATE functions available in XENIX FORTRAN?

Response: There is no FORTRAN date or time function. Using FORTRAN Version 3.21, the best way to find out the date or time would be to write an assembly subroutine. In FORTRAN Version 3.30, it is easier because you can create a Pascal subroutine. Giving a subroutine the Pascal attribute is described in the XENIX Pascal Version 3.30 reference manual on Page 190. The Pascal procedures that are available are the DATE, TICS, and TIME procedures.