2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. index:: ITIME, time, current, current time
10 ITIME --- Get current local time subroutine (hour/minutes/seconds)
11 *******************************************************************
13 .. function:: ITIME(VALUES)
15 ``ITIME(VALUES)`` Fills :samp:`{VALUES}` with the numerical values at the
16 current local time. The hour (in the range 1-24), minute (in the range 1-60),
17 and seconds (in the range 1-60) appear in elements 1, 2, and 3 of :samp:`{VALUES}`,
21 The type shall be ``INTEGER, DIMENSION(3)``
22 and the kind shall be the default integer kind.
25 Does not return anything.
34 .. code-block:: fortran
39 .. code-block:: fortran
42 integer, dimension(3) :: tarray
47 end program test_itime