change current date calculation