SLA_CTF2D

Hour,Min,Sec to Days

ACTION:
Convert hours, minutes, seconds to days (single precision).
CALL:
CALL sla_CTF2D (IHOUR, IMIN, SEC, DAYS, J)
GIVEN:

IHOUR

I

hours

IMIN

I

minutes

SEC

R

seconds


RETURNED:

DAYS

R

interval in days

J

I

status:

  0 = OK

  1 = IHOUR outside range 0-23

  2 = IMIN outside range 0-59

  3 = SEC outside range 0-59.999


NOTES:
(1)
The result is computed even if any of the range checks fail.
(2)
The sign must be dealt with outside this routine.