How do I format date in jQuery datetimepicker? Here you go. You need to pass datepicker() the date formatted correctly.