g77.info: Date_and_Time Intrinsic

Go forward to DbesJ0 Intrinsic
Go backward to DATan2 Intrinsic
Go up to Table of Intrinsic Functions
Go to the top op g77

Date_and_Time Intrinsic

     CALL Date_and_Time(DATE, TIME, ZONE, VALUES)
DATE: `CHARACTER'; scalar; INTENT(OUT).
TIME: `CHARACTER'; OPTIONAL; scalar; INTENT(OUT).
ZONE: `CHARACTER'; OPTIONAL; scalar; INTENT(OUT).
VALUES: `INTEGER(KIND=1)'; OPTIONAL; DIMENSION(8); INTENT(OUT).
Intrinsic groups: `f90'.
Description:
   Returns:
DATE
     The date in the form CCYYMMDD: century, year, month and day;
TIME
     The time in the form `HHMMSS.SS': hours, minutes, seconds and
     milliseconds;
ZONE
     The difference between local time and UTC (GMT) in the form SHHMM:
     sign, hours and minutes, e.g. `-0500' (winter in New York);
VALUES
     The year, month of the year, day of the month, time difference in
     minutes from UTC, hour of the day, minutes of the hour, seconds of
     the minute, and milliseconds of the second in successive values of
     the array.
   Programs making use of this intrinsic might not be Year 10000 (Y10K)
compliant.  For example, the date might appear, to such programs, to
wrap around (change from a larger value to a smaller one) as of the
Year 10000.
   On systems where a millisecond timer isn't available, the millisecond
value is returned as zero.