I'm using arcgis rest api 10.3.1. My service has an editable, nullable esriFieldTypeDate field named CaptureDate.
How can I remove this date? Passing null sets it to SQL Server epoch of 1/1/1900, passing -1 sets it 12/31/1969, and passing undefined, "NULL", or an empty string is rejected as bad input.
Seems like there was a bug (NIM070071) way back in 2.3 - Default date of 1970 for date field at 2.3 that did not honor null values. It doesn't seem to be related, though. Do you have a default value for [date] set on the service, by chance?
No default date. If there would be a default set, then I believe all date
fields would be defaulted to 1/1/1900.
Jason Posthuma
Developer
303-210-4525