NCEPLIBS-w3emc 2.12.0
|
Return a time interval between two dates. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | w3difdat (jdat, idat, it, rinc) |
Returns the elapsed time interval from an NCEP absolute date and time given in the second argument until an NCEP absolute date and time given in the first argument. | |
subroutine w3difdat | ( | integer, dimension(8) | jdat, |
integer, dimension(8) | idat, | ||
it, | |||
real, dimension(5) | rinc | ||
) |
Returns the elapsed time interval from an NCEP absolute date and time given in the second argument until an NCEP absolute date and time given in the first argument.
The output time interval is in one of seven canonical forms of the ncep relative time interval data structure.
Program history log:
[in] | JDAT | Integer (8) ncep absolute date and time (year, month, day, time zone, hour, minute, second, millisecond) |
[in] | IDAT | Integer (8) ncep absolute date and time (year, month, day, time zone, hour, minute, second, millisecond) |
[in] | IT | Integer relative time interval format type (-1 for first reduced type (hours always positive), 0 for second reduced type (hours can be negative), 1 for days only, 2 for hours only, 3 for minutes only, 4 for seconds only, 5 for milliseconds only) |
[out] | RINC | Real (5) ncep relative time interval (days, hours, minutes, seconds, milliseconds) (time interval is positive if jdat is later than idat.) |
Definition at line 28 of file w3difdat.f.