cast to int to remove decimal point from time