slaDtf2d -

SYNOPSYS

void slaDtf2d(ihour, imin, sec, days, j)

PARAMETERS

int ihour
int imin
double sec
double *days
int *j

DESCRIPTION


  Convert hours, minutes, seconds to days.

  (double precision)

Given

     ihour       int           hours
     imin        int           minutes
     sec         double        seconds

Returned

     *days       double        interval in days
     *j          int           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.

  P.T.Wallace   Starlink   26 October 1993

SEE ALSO