Look in the manual for a system routine called 'DATIM'. It returns an
integer array containing, among other things, date and time.
I take this opportunity to ask to people familiar with Fortran 90
whether date/time (and CPU time) have been standardized.
It is rather inconvenient to figure out how that is done on every
machine you are porting your programs to. Even VS Fortran and
xlf developers inside IBM couldn't agree on how to do that in
Fortran 77.
--
furio ercolessi <fu...@uiuc.edu>* <fu...@sissa.it>+
* materials research lab, uni illinois at urbana-champaign
+ intl school for advanced studies, trieste, italy
I take this opportunity to ask to people familiar with Fortran 90
whether date/time (and CPU time) have been standardized.
Yes. See the Standard 13.13.26 DATE_AND_TIME(DATE,TIME,ZONE,VALUES)
all are optional arguments. the representation is specified to be ISO
8601:1988 compatible (hence leap second is allowed for).
--
----------------------------------------------------------------
Keith H. Bierman keith....@Sun.COM| k...@chiba.Eng.Sun.COM
SunPro 2550 Garcia MTV 12-40 | (415 336 2648) fax 964 0946
Mountain View, CA 94043 <speaking for myself, not Sun*> Copyright 1993