fix for end of month bug; set time on last day to 23:59 instead of 00:00