Convert seconds to integer. #EG-3341
Converts seconds in a more appropriate place. #EG-3341