Returns the time difference between time1
and time2
as 8-byte
integer seconds
[sec]. The function does not validate the time
stamps. Make sure to only pass valid values. On error, the result
seconds
is huge(0_i8)
.
The function returns the following error codes:
E_INVALID
if one time stamp or both are invalid.E_SYSTEM
if the system call failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=TIME_LEN), | intent(in) | :: | time1 |
ISO 8601 time stamp. |
||
character(len=TIME_LEN), | intent(in) | :: | time2 |
ISO 8601 time stamp. |
||
integer(kind=i8), | intent(out) | :: | seconds |
Time delta [sec]. |