Next: HOSTNM, Previous: GETUID, Up: Intrinsic Procedures [Contents][Index]
GMTIME
— Convert time to GMT infoGiven a system time value TIME (as provided by the TIME
intrinsic), fills VALUES with values extracted from it appropriate
to the UTC time zone (Universal Coordinated Time, also known in some
countries as GMT, Greenwich Mean Time), using gmtime(3)
.
This intrinsic routine is provided for backwards compatibility with GNU Fortran 77. In new code, programmers should consider the use of the DATE_AND_TIME intrinsic defined by the Fortran 95 standard.
GNU extension
Subroutine
CALL GMTIME(TIME, VALUES)
TIME | An INTEGER scalar expression
corresponding to a system time, with INTENT(IN) . |
VALUES | A default INTEGER array with 9 elements,
with INTENT(OUT) . |
The elements of VALUES are assigned as follows:
DATE_AND_TIME, CTIME, LTIME, TIME, TIME8