Attribute type | Request / response | Format | Example |
---|---|---|---|
date | Request or response | yyyy-mm-dd | 2017-06-26 |
date-time | Request | UTC or Local time can be requested: yyyy-mm-ddThh:mm:ss.fff[Z|+hh:mm] Either +hh:mm (the time zone offset) or Z must be supplied. All time elements are mandatory – including the 3 decimal millisecond (.fff) |
Valid examples 2017-06-26T16:25:43.451+12:00 (ie. 4:25pm local (NZST) time) or the equivalent in UTC: 2017-06-26T04:25:43.451Z Invalid examples 2017-06-26T16:25:43.451 (no timezone specified) 2017-06-26T04:25:43+13:00 (fractional seconds missing) 2017-06-26T04:25:43Z (fractional seconds missing) |
date-time | Response | Local times are returned: yyyy-mm-ddThh:mm:ss.fff+12:00 (for NZST) and yyyy-mm-ddThh:mm:ss.fff+13:00 (for NZDT). NB: hh:mm:ss.fff is local time |
2017-06-26T16:25:43.451+12:00 (ie. 4:25pm local (NZST) time) |