[date_time] Set date/time/timezone?
Hello, Boost::Date_Time is great to get and manipulate time and date but, is it possible to *set* those values? What I would like to do is read a string/struct/container/whatever which contains a date, time and timezone and set those values as the system time, system date and system timezone (something like the SetSystemTime SetSystemTimeZoneInformation methods in Win32). Thank you. -- Pau Garcia i Quiles http://www.elpauer.org (Due to the amount of work, I usually need 10 days to answer)
Pau Garcia i Quiles wrote:
Hello,
Boost::Date_Time is great to get and manipulate time and date but, is it possible to *set* those values?
What I would like to do is read a string/struct/container/whatever which contains a date, time and timezone and set those values as the system time, system date and system timezone (something like the SetSystemTime SetSystemTimeZoneInformation methods in Win32).
Nope, the library doesn't offer these functions. Jeff
participants (2)
-
Jeff Garland
-
Pau Garcia i Quiles