.. Copyright 1988-2022 Free Software Foundation, Inc. This is part of the GCC manual. For copying conditions, see the copyright.rst file. .. index:: TIME8, time, current, current time .. _time8: TIME8 --- Time function (64-bit) ******************************** .. function:: TIME8() Returns the current time encoded as an integer (in the manner of the function ``time(3)`` in the C standard library). This value is suitable for passing to :ref:`CTIME`, :ref:`GMTIME`, and :ref:`LTIME`. :return: The return value is a scalar of type ``INTEGER(8)``. Standard: GNU extension Class: Function Syntax: .. code-block:: fortran RESULT = TIME8() See also: :ref:`DATE_AND_TIME`, :ref:`CTIME`, :ref:`GMTIME`, :ref:`LTIME`, :ref:`MCLOCK8`, :ref:`TIME`