How to add N weeks to a sys_days?

Nov 11, 2022 at 5:46pm
I have a starting sys_days called start but need to find the sys_days corresponding to start + N weeks into the future???

Nov 11, 2022 at 5:49pm
here is an example of it
https://en.cppreference.com/w/cpp/chrono/year_month_day/operator_days

I don't remember anything in chrono that knows about weeks: I think you just have to use 7 days * #weeks for that.
Last edited on Nov 11, 2022 at 5:51pm
Nov 11, 2022 at 6:17pm
thanks!!
Topic archived. No new replies allowed.