change time column type to int