InfoPath - CAML Date Time format in when submitting to a SharePoint list via a Web Service
I noticed that when trying to update a SharePoint list item using a CAML query from an InfoPath form, if the date/time format was not correct the field in the SharePoint list item would not be updated. Any updates in the CAML query after an element with an invalid date/time format were also not applied. The Date Time format in a CAML query must comply with the ISO 8601 standard. This means that to update the time component of a Date/Time field in a SHarePoint list, the time and date must be formatted according to the ISO 8601 profile. To ensure the time component of the dat/time filed is updated in SharePoint, use one of the the following date/time formats: YYYY-MM-DDThh:mmTZD (2009-07-27T21:20+01:00) (2009-07-27T20:20Z) or YYYY-MM-DDThh:mm:ssTZD (2009-07-27T21:20:30+01:00) (2009-07-27T20:20:30Z) Key Components: The date must be in YYYY-MM-DD format "T" indicates the start of the time the time must be in "hh:mm", or "hh:mm:ss" formats The time must be pr...