convert timings to seconds