Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public
Document Table of Contents

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.