Boost script with timers and saving dilemma

What would be the easiest, but most efficient way to make a timer system save for stuff like 2x Exp for 30 minutes?