Intel® Fortran Compiler 16.0 User and Reference Guide

Date and Time Intrinsic Subroutines

The following table lists date and time intrinsic subroutines.

Name

Procedure Type

Description

CPU_TIME

Intrinsic subroutine

Returns the processor time in seconds.

DATE

Intrinsic subroutine

Returns the ASCII representation of the current date (in dd-mmm-yy form).

DATE_AND_TIME

Intrinsic subroutine

Returns the date and time. This is the preferred procedure for date and time.

IDATE

Intrinsic subroutine

Returns three integer values representing the current month, day, and year.

SYSTEM_CLOCK

Intrinsic subroutine

Returns data from the system clock.

TIME

Intrinsic subroutine

Returns the ASCII representation of the current time (in hh:mm:ss form).

The portability routines GETDAT, GETTIM, SETDAT, and SETTIM also supply this functionality.