I have dates in a bunch of formats. Now i would like to have a function (from some library) in c++ that can parse these date/time string and give me some structure like a tm or convert them to some deterministic representation so that i can play around with the date/time.
Some formats that I see are as follows : Tue, 19 Feb 2008 20:47:53 +0530 Tue, 28 Apr 2009 18:22:39 -0700 (PDT)
I am able to do the ones without the timezones but for the ones with the timezone, i basically need the library to convert it to UTC in the tm structure.
I have tried boost and strptime, but as far as i know, both do no support timezones on inputs. is there anything that i have missed?
ANy help on this one will be really appreciated.
Regards