Answer the question
In order to leave comments, you need to log in
Is there any convenient class in the c++ libraries for working with dates?
Good time!
I am writing now under MFC, and I need a class for convenient work with dates. Need the possibility of increments by months, days; arithmetic operations with dates. And shift the responsibility for the correct dates to this class, so that as a result of some kind of gesture, an incorrect date does not turn out.
Perhaps this is some kind of wrapper over SYSTEMTIME.
Answer the question
In order to leave comments, you need to log in
And there is also a standard time_point. Comfortable, official, happy to take responsibility. :)
You can read it here:
en.cppreference.com/w/cpp/chrono/time_point
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question