Switch stored time to number of seconds