I'm using a create service to add a record from input objects and a datepicker. When I don't include the datepicker, the records are added without issue. When I try to map the datepicker to the date column, no record is added.
return('2014-11-29 00:00:00.000') //This works
How do I change the date format of the date picker to make the datebase happy?
return $.datepicker.formatDate('yy-mm-dd', '2014-11-29 00:00:00.000'); //This doesn't work
//return $.datepicker.formatDate('yyyy-mm-dd', value); //what is the correct syntax?
I've added some screen shots to assist.
Thanks for your help.