XL Fortran for AIX 8.1

User's Guide


Finding the Date and Time

There are some common date and time subprograms that you may be familiar with from programming in FORTRAN 77 on other systems. XL Fortran provides equivalents to many of these subprograms. Some of the names have trailing underscores to avoid conflicts with C library functions of the same name.

The XL Fortran subprograms that deal with the date and time are:

alarm_
clock_
ctime_
date
dtime_
etime_
fdate_
gmtime_
idate_
irtc
itime_
jdate
ltime_
rtc
sleep_
time_
timef
usleep_

See the section on "Service and Utility Procedures" in the XL Fortran for AIX Language Reference for details about these subprograms.

For portable Fortran 90 and Fortran 95 programming, you can also use the CPU_TIME, DATE_AND_TIME, and SYSTEM_CLOCK intrinsic subroutines.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]