use datetimepicker instead of datepicker
ticket 541