0

My project is in MVC. I am using bootstrap datetime picker for selecting the date from web and it is working on my local machine, but after publishing the code on Azure, I am getting a date format validation error.

JavaScript:

$('#DateofBooking').datetimepicker({format: 'MM/DD/YYYY'});

The validation message I see:

Screenshot of validation message: "The field must be a date."

iff_or
  • 880
  • 1
  • 11
  • 24
Ajay Chaturvedi
  • 115
  • 1
  • 1
  • 8

0 Answers0