LTIME — Convert time to local time info#

LTIME(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 local time zone using localtime(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 LTIME(TIME, VALUES)
See also:

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