dimanche 1 décembre 2019

How to create a time_point object with year month day?

Suppose I have 3 integers 1992, 5, 29 and I want to construct a time_point object that represents 1992 May 29th. How do you do it? Do I have to convert these 3 numbers to epoch first and then convert epoch to time_point?

Thanks!

Aucun commentaire:

Enregistrer un commentaire