Intel® Fortran Compiler 18.0 Developer Guide and Reference

PXFTIME

POSIX Subroutine: Returns the current system time.

Module

USE IFPOSIX

CALL PXFTIME (itime,ierror)

itime

(Output) INTEGER(4). The returned system time.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFTIME subroutine returns the number of seconds since Epoch (00:00:00 UTC, January 1, 1970).

Example

See the example in PXFTIMES.