corected date setting
adder day of the week