Boost Users :
From: Scott (cheesy4poofs_at_[hidden])
Date: 2006-05-08 15:09:05
Note: Reposting in hopes of getting an answer.
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?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net