Unsolved how to get epoch time before certain days from current time?
-
Hello, I want to get epoch time before current time. I will give number of days in input. How to ?
-
@mit_cruze
QDateTime should help you. -
if
daysInPast
is how many days to go back:QDate oldDate = QDate::currentDate().addDays(-daysInPast)
;