‎2016 Jun 15 2:58 PM
Hi All.
I would like to know how to write datetime format in Json code for SF OData v2. I tried with this example 01-01-2016T14:42:30 but it gives an error as "Illegal datetime format". I am using this for POST operation.
‎2016 Jun 15 3:02 PM
you can create a new date object,,,
new Date(<DATETIME>) and make sure you perform the JSON.stringify(data) on your data object while POSTing via AJAX
hope this helps