Node: Date_and_Time Intrinsic, Next: DbesJ0 Intrinsic, Previous: DATan2 Intrinsic, Up: Table of Intrinsic Functions
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:
hhmmss.ss
: hours, minutes, seconds
and milliseconds;
-0500
(winter in New York);
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.