update datetimepicker format