get total seconds that works in >2.3