views:

66

answers:

2

I'm looking for a simple C++ library that allows me to convert timezone descriptions like "America/New_York" into an offset to GMT.

I'm looking for a lightweight library to add to an existing project.

+1  A: 

Never used it but I think boost date time can do this: boost::date_time - local_time database

Daniel
boost worked nicely, once I realized that the necessary timezone database wasn't included in the openSuSE distribution of boost and I fetched the source.
Gene Vincent
A: 

You can use Roguewave libraries for c++. http://www.roguewave.com/products/sourcepro/

Pradeep