Convert UTC to local time using SystemTimeToTzSpecificLocalTime?

I have an epoc UTC time 1432743742 that represents Wed, 27 May 2015 16:22:22.

(See http://www.epochconverter.com/)

This time is actually 27/05/2015, 17:22:22 GMT+1:00 DST

I know that the timezone in question is GMT Standard Time so I want to convert the epoc UTC time to the local time based on the timezone.

I believe that this function allows me to do it: SystemTimeToTzSpecificLocalTime.

If so, how can I use this function to convert an epoc UTC time to local time based on the timezone name?
The standard library provides everthing you need to deal with date/time.

See
http://www.cplusplus.com/reference/ctime/localtime/?kw=localtime
and
http://www.cplusplus.com/reference/ctime/strftime/?kw=strftime
Topic archived. No new replies allowed.