GMTIME — Convert time to GMT info¶
- GMTIME()¶
Given a system time value
TIME(as provided by the TIME intrinsic), fillsVALUESwith 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).- Parameters
TIME – An
INTEGERscalar expression corresponding to a system time, withINTENT(IN).VALUES – A default
INTEGERarray with 9 elements, withINTENT(OUT).
- Returns
The elements of
VALUESare assigned as follows:
Standard:GNU extension
Class:Subroutine
Syntax:CALL GMTIME(TIME, VALUES)
See also:DATE_AND_TIME, CTIME, LTIME, TIME, TIME8