unsigned long seconds(unsigned char hr,min,sec){ unsigned long dat; dat=hr*60*60+min*60+sec; retrun(dat);}