^NyAw^
29th May 2008, 15:38
Hi,
How can I obtain the Date minus one week? p.e.: the date is(yyyy-mm-dd) "2008-05-03" and I want to get "2008-04-26".
QDate class let's me add days, months and years, but don't let me do substraction.
Thanks,
How can I obtain the Date minus one week? p.e.: the date is(yyyy-mm-dd) "2008-05-03" and I want to get "2008-04-26".
QDate class let's me add days, months and years, but don't let me do substraction.
Thanks,