Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-682FDDF7-0725-4396-8BBC-F51C24770B62
Visible to Intel only — GUID: GUID-682FDDF7-0725-4396-8BBC-F51C24770B62
GETTIM
Portability Subroutine: Returns the time.
Module
USE IFPORT
CALL GETTIM (ihr, imin, isec, i100th)
ihr |
(Output) INTEGER(4) or INTEGER(2). Hour (0-23). |
imin |
(Output) INTEGER(4) or INTEGER(2). Minute (0-59). |
isec |
(Output) INTEGER(4) or INTEGER(2). Second (0-59). |
i100th |
(Output) INTEGER(4) or INTEGER(2). Hundredths of a second (0-99). |
All arguments must be of the same integer kind, that is, all must be INTEGER(2) or all must be INTEGER(4).
If INTEGER(2) arguments are passed, you must specify USE IFPORT.
Example
See the example in GETDAT.