dimanche 1 octobre 2017

How to convert in modern C++ a double into a datetime

How to convert in modern C++ (C++11/14/17) a double into a date time using the date.h library, when the double has been generated while exporting an Excel worksheet as a CSV file?

For instance, the datetime the double:

42968.4958333333

represents:

Thanks.

Aucun commentaire:

Enregistrer un commentaire