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

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.