Return time as an int