GMTIME — Convert time to GMT info#

GMTIME(TIME, VALUES)#

Given a system time value TIME (as provided by the TIME — Time function 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).

Parameters:
  • TIME – An INTEGER scalar expression corresponding to a system time, with INTENT(IN).

  • VALUES – A default INTEGER array with 9 elements, with INTENT(OUT).

Returns:

The elements of VALUES are assigned as follows:

Standard:

GNU extension

Class:

Subroutine

Syntax:
CALL GMTIME(TIME, VALUES)
See also:

DATE_AND_TIME — Date and time subroutine, CTIME — Convert a time into a string, LTIME — Convert time to local time info, TIME — Time function, TIME8 — Time function (64-bit)