static double hourMinSecToSec(double hours, double min, double sec) { ret (hours*60+min)*60+sec; }