Intel® Fortran Compiler 17.0 Developer Guide and Reference
POSIX Subroutine: Converts a given elapsed time in seconds to local time.
USE IFPOSIX
CALL PXFLOCALTIME (isecnds,iatime,ierror)
isecnds |
(Input) INTEGER(4). The elapsed time in seconds since 00:00:00 Greenwich Mean Time, January 1, 1970. |
||||||||||||||||||||
iatime |
(Output) INTEGER(4). One-dimensional array with 9 elements containing numeric time data. The elements of iatime are returned as follows:
|
||||||||||||||||||||
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The PXFLOCALTIME subroutine converts the time (in seconds since epoch) in the isecnds argument to the local date and time as described by the array iatime above.