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
|

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
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.