c_cvtmil - Convert a time in total milliseconds to hours, minutes, seconds, and milliseconds.

SYNTAX

FUNCTION c_cvtmil(milsec, hour, min, sec, fsec)

     long	*milsec;
     long	*hour;
     long	*min;
     long	*sec; 
     long	*fsec; 

PARAMETERS

milsec (long *, input)

The time of day in total milliseconds.

hour (long *, output)

The hour of the day.

min (long *, output)

The minutes.

sec (long *, output)

The seconds.

fsec (long *, output)

Fractional seconds. fsec is the number of milliseconds left over. Thus, if fsec were 12, the fractional part of the seconds would be .012, and 120 would mean .120 seconds.

DESCRIPTION

The c_cvtmil() routine is used to calculate the time of day in hours, minutes, seconds, and fractional seconds (milliseconds) from a time given in total milliseconds.

c_cvtmil() is located in the file cvtime.c.

RETURN VALUE

c_cvtmil() has no return value.