Round the timestamp to the nearest second