I was looking at the documentation but there seems to be no conversion between the date::local_senconds and C data structure tm. Using std::localtime(local_time.time_since_epoch().count()) is not working properly. Any suggestions on how to achieve it?
Hi,
I was looking at the documentation but there seems to be no conversion between the
date::local_senconds
andC data structure tm
. Usingstd::localtime(local_time.time_since_epoch().count())
is not working properly. Any suggestions on how to achieve it?Thank you!