[date_time] What's the proper way to convert local to UTC?
4 May
2006
4 May
'06
5:33 p.m.
c_local_adjustor has the static method "utc_to_local" to easily convert to local time based on the machine TZ setting. So I figured it had a utc_from_local or local_to_utc method as well. Neither compiled, so I looked at the header file c_local_time_adjustor.hpp: //! Adjust to / from utc using the C API Yet there is only that one method in the class. Is the missing ability to convert from local to UTC an oversight or is it implemented somewhere else? What's the correct way to do it? Thanks, Scott
6768
Age (days ago)
6768
Last active (days ago)
0 comments
1 participants
participants (1)
-
Scott