Application to calculate the day from the date.