datepicker and calculator