Added functions to handle DST corrections