Node: IDate Intrinsic (VXT), Next: IIAbs Intrinsic, Previous: FPutC Intrinsic (function), Up: Other Intrinsics
CALL IDate(M, D, Y)
M: INTEGER(KIND=1)
; scalar; INTENT(OUT).
D: INTEGER(KIND=1)
; scalar; INTENT(OUT).
Y: INTEGER(KIND=1)
; scalar; INTENT(OUT).
Intrinsic groups: vxt
.
Description:
Returns the numerical values of the current local time. The month (in the range 1-12) is returned in M, the day (in the range 1-31) in D, and the year in Y (in the range 0-99).
This intrinsic is not recommended, due to the fact that its return value for year wraps around century boundaries (change from a larger value to a smaller one). Therefore, programs making use of this intrinsic, for instance, might not be Year 2000 (Y2K) compliant. For example, the date might appear, to such programs, to wrap around as of the Year 2000.
See IDate Intrinsic (UNIX), for information on obtaining more digits for the current date.
For information on other intrinsics with the same name: See IDate Intrinsic (UNIX).