convert given timestamp and timezone to broken-down time

I want to write a function,
bool brokenDownTime(const time_t& time, const string& timezone, struct tm& brokenTIme);
here brokenDownTIme() should convert the 'time'(since EPOCH) to broken down time 'brokenTime' after adjusting for the timezone specified by 'timezone'

Thanks,
Prateek
Topic archived. No new replies allowed.