TimeDaylightSavings
Returns correction for daylight saving time in seconds, if the switch to summer time has been made. It depends on the time settings of your computer.
int TimeDaylightSavings();
Return Value
If switch to winter (standard) time has been made, it returns 0.
Doesn't work on back test though, have never tried it but will possibly help.