I want to convert UTC timestamp in epoch time seconds considering DST in C language. I am doing development on VS 2005 as this is legacy product. I gone through various websites but it is not useful.
We can do this by boost library but it is not recommended.
I am passing input as "2017-03-12T01:00:00Z" i.e. UTC timestamp, and I want epoch time of it i.e. in seconds. When I convert this epoch time back to UTC time, it should give me exact result as input timestamp.