boost from_time_t function has no counterpart

M

McGragger

I would really like to know how to make a

time_t to_time_t(ptime)

function. I am trying to do it with time_t and mktime functions but I
am running into many issues with timezones and daylight savings. Anyone
know of an easy way to convert from ptime to time_t?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top