FUNCTION c_cvtime(tsec, hour, min, sec)
long *tsec; long *hour; long *min; long *sec;
The time of day in total seconds.
The hour of the day.
The minutes.
The seconds.
The c_cvtime() routine is used to calculate the time of day in total seconds (tsec) from the hours, minutes, and seconds using the following formula:
total seconds = (hour * 3600) + (min * 60) + sec
c_cvtime() has no return value.