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.

Descriptions of the Library Routines 2array(Output) INTEGER(4). One-dimensional array with 9 elements to contain local date and time dataderived from time.The elements of array are returned as follows:ElementValuearray(1) Seconds (0 - 59)array(2) Minutes (0 - 59)array(3) Hours (0 - 23)array(4) Day of month (1 - 31)array(5) Month (0 - 11)array(6) Years since 1900array(7)Day of week (0 - 6, where 0 is Sunday)array(8) Day of year (1 - 365)array(9) 1 if daylight saving time is in effect; otherwise, 0.CAUTION. This subroutine is not year-2000 compliant, use theDATE_AND_TIME intrinsic subroutine instead (see the Language <strong>Reference</strong>).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: the DATE_AND_TIME intrinsic procedure in the Language <strong>Reference</strong>ExampleUSE IFPORTINTEGER(4) input_time, time_array(9)! find number of seconds since 1/1/70input_time=TIME()! convert number of seconds to time arrayCALL LTIME (input_time, time_array)PRINT *, time_array2-199

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

Saved successfully!

Ooh no, something went wrong!