7 Sep
2009
7 Sep
'09
2:11 p.m.
Well I did not. I used expires_at(expires_at() + TIMETOADD); because that is the behaviour that is specified for the timer function that I'm implementing.
but I have just tested expire_from_now(). And it does the exact same thing.
Probably something like this would help: expires_at(ptime::microsec_clock::universal_time() + TIMETOADD);