12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>result = SYSTEMQQ('copy c:\bin\fmath.dat &c:\dat\fmath2.dat')TIMEPortability Function or Subroutine: The function returns the system time, in seconds, since00:00:00 Greenwich mean time, January 1, 1970. The subroutine fills a parameter with the currenttime as a string in the format hh:mm:ss.Module: USE IFPORTFunction Syntax:result = TIME ( )Subroutine Syntax:CALL TIME (string)string(Output) Character*(*). Current time, based on a 24-hour clock, in the form hh:mm:ss, where hh,mm, and ss are two-digit representations of the current hour, minutes past the hour, and secondspast the minute, respectively.Results:The result type is INTEGER(4). The result value is the number of seconds that have elapsed since00:00:00 Greenwich mean time, January 1, 1970.The value returned by this routine can be used as input to other portability date and time functions.NOTE. TIME is an intrinsic procedure unless you specify USE IFPORT.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS LIBSee Also: the TIME subroutine in the Language <strong>Reference</strong>ExampleUSE IFPORTINTEGER(4) int_timecharacter*8 char_timeint_time = TIME( )call TIME(char_time)print *, 'Integer: ', int_time, 'time: ', char_time2-480

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!