I need to display yesterday's (preivious one of current date) using QT. I got current date using QDate . how can i reduce a date from current one ? can anyone have any ideas ?
From the documentation:
http://developer.qt.nokia.com/doc/qt-4.8/qdate.html#addDays
QDate yesterday = today.addDays(-1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With