Update timesec.h

speed up converting from long