In most of the examples I had seen:
time_zone_ptr zone( new posix_time_zone(\"MST-07\") );
But I just want to get the current time zone fo
Well, maybe you could do it using the GeoIP library. I know it's a bit of an overkill, but since most computers in the world are connected to the internet, you could probably get away with it. According to the guy I'm developing for, it's been over 99% accurate.
Note: This is a dumb idea. I am just stretching for answers.