fixed bug where daylight saving time (!!!) made dayToDate function skip a day in March every year -.-