Add logic for date change time setting (1) -cont.