9.123. GMTIME
9.123 GMTIME — Convert time to GMT info
- Description:
- Given a system time value TIME (as provided by the
TIME8
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), usinggmtime(3)
. - Standard:
- GNU extension
- Class:
- Subroutine
- Syntax:
-
CALL GMTIME(TIME, VALUES)
- Arguments:
-
TIME An INTEGER
scalar expression corresponding to a system time, withINTENT(IN)
.VALUES A default INTEGER
array with 9 elements, withINTENT(OUT)
. - Return value: