How to get current time and date in C++?

后端 未结 24 1925
刺人心
刺人心 2020-11-22 06:55

Is there a cross-platform way to get the current date and time in C++?

24条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 07:45

    The ffead-cpp provides multiple utility classes for various tasks, one such class is the Date class which provides a lot of features right from Date operations to date arithmetic, there's also a Timer class provided for timing operations. You can have a look at the same.

提交回复
热议问题