9.160. ITIME
9.160 ITIME — Get current local time subroutine (hour/minutes/seconds)
- Description:
-
ITIME(VALUES)
Fills VALUES with the numerical values at the current local time. The hour (in the range 1-24), minute (in the range 1-60), and seconds (in the range 1-60) appear in elements 1, 2, and 3 of VALUES, respectively.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.
- Standard:
-
GNU extension
- Class:
-
Subroutine
- Syntax:
-
CALL ITIME(VALUES)
<