Handling date and date-time fields
Date fields
The current version of Axis2 cannot properly handle date fields that also contain a reference to time. Planon therefore recommends to only include the date in date fields.
Incorrect:
<xsd:beginDate>2017-07-24T14:42:14.000+02:00</xsd:beginDate>
Correct:
<xsd:beginDate>2017-07-24</xsd:beginDate>
Date-time fields
To handle the time zones correctly Property date-time (DateTimeProperty) and Neutral date-time (DateTimeNeutral) fields values should be handled as string type.
When retrieving, populating or searching on dates, the date-time field should be in one of following formats:
• EEE MMM dd HH:mm:ss zzz yyyy
• yyyy-MM-dd'T'HH:mm:ss
• yyyy-MM-dd'T'HH:mm:ss.000'Z'
| For more information on web services and time zones, see Time zones. |