@table @asis
@item @emph{Description}:
-Given a system time value @var{TIME} (as provided by the @code{TIME8}
+Given a system time value @var{TIME} (as provided by the @code{TIME}
intrinsic), fills @var{VALUES} with values extracted from it appropriate
to the UTC time zone (Universal Coordinated Time, also known in some
countries as GMT, Greenwich Mean Time), using @code{gmtime(3)}.
+This intrinsic routine is provided for backwards compatibility with
+GNU Fortran 77. In new code, programmers should consider the use of
+the @ref{DATE_AND_TIME} intrinsic defined by the Fortran 95
+standard.
+
@item @emph{Standard}:
GNU extension
seconds
@item Minutes after the hour, range 0--59
@item Hours past midnight, range 0--23
-@item Day of month, range 0--31
-@item Number of months since January, range 0--12
+@item Day of month, range 1--31
+@item Number of months since January, range 0--11
@item Years since 1900
@item Number of days since Sunday, range 0--6
-@item Days since January 1
+@item Days since January 1, range 0--365
@item Daylight savings indicator: positive if daylight savings is in
effect, zero if not, and negative if the information is not available.
@end enumerate
and year appear in elements 1, 2, and 3 of @var{VALUES}, respectively.
The year has four significant digits.
+This intrinsic routine is provided for backwards compatibility with
+GNU Fortran 77. In new code, programmers should consider the use of
+the @ref{DATE_AND_TIME} intrinsic defined by the Fortran 95
+standard.
+
@item @emph{Standard}:
GNU extension
@table @asis
@item @emph{Description}:
-@code{IDATE(VALUES)} Fills @var{VALUES} with the numerical values at the
+@code{ITIME(VALUES)} Fills @var{VALUES} with the numerical values at the
current local time. The hour (in the range 1-24), minute (in the range 1-60),
and seconds (in the range 1-60) appear in elements 1, 2, and 3 of @var{VALUES},
respectively.
+This intrinsic routine is provided for backwards compatibility with
+GNU Fortran 77. In new code, programmers should consider the use of
+the @ref{DATE_AND_TIME} intrinsic defined by the Fortran 95
+standard.
+
@item @emph{Standard}:
GNU extension
@table @asis
@item @emph{Description}:
-Given a system time value @var{TIME} (as provided by the @code{TIME8}
+Given a system time value @var{TIME} (as provided by the @code{TIME}
intrinsic), fills @var{VALUES} with values extracted from it appropriate
to the local time zone using @code{localtime(3)}.
+This intrinsic routine is provided for backwards compatibility with
+GNU Fortran 77. In new code, programmers should consider the use of
+the @ref{DATE_AND_TIME} intrinsic defined by the Fortran 95
+standard.
+
@item @emph{Standard}:
GNU extension
seconds
@item Minutes after the hour, range 0--59
@item Hours past midnight, range 0--23
-@item Day of month, range 0--31
-@item Number of months since January, range 0--12
+@item Day of month, range 1--31
+@item Number of months since January, range 0--11
@item Years since 1900
@item Number of days since Sunday, range 0--6
-@item Days since January 1
+@item Days since January 1, range 0--365
@item Daylight savings indicator: positive if daylight savings is in
effect, zero if not, and negative if the information is not available.
@end enumerate
1. Seconds after the minute, range 0-59 or 0-61 to allow for leap seconds
2. Minutes after the hour, range 0-59
3. Hours past midnight, range 0-23
- 4. Day of month, range 0-31
+ 4. Day of month, range 1-31
5. Number of months since January, range 0-11
6. Years since 1900
7. Number of days since Sunday, range 0-6
- 8. Days since January 1
+ 8. Days since January 1, range 0-365
9. Daylight savings indicator: positive if daylight savings is in effect,
zero if not, and negative if the information isn't available. */
1. Seconds after the minute, range 0-59 or 0-61 to allow for leap seconds
2. Minutes after the hour, range 0-59
3. Hours past midnight, range 0-23
- 4. Day of month, range 0-31
+ 4. Day of month, range 1-31
5. Number of months since January, range 0-11
6. Years since 1900
7. Number of days since Sunday, range 0-6
- 8. Days since January 1
+ 8. Days since January 1, range 0-365
9. Daylight savings indicator: positive if daylight savings is in effect,
zero if not, and negative if the information isn't available. */