
25 Feb
2011
25 Feb
'11
10:34 a.m.
Is there a way using boost.datetime to obtain the current time zone.
AFAIK, there is no such way. On windows you can do something like this: TIME_ZONE_INFORMATION tz; GetTimeZoneInformation(&tz); posix_time::time_duration time_zone = posix_time::minutes(tz.Bias);