Corrects date from day