allow datepicker to accept sql datetime strings