GMTIME — Convert time to GMT info

GMTIME()

Given 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).

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, CTIME, LTIME, TIME, TIME8