TZTimeOnly fields contain a time with a timezone offset, in an ISO 8601 format.
The format is HH:MM[:ss][Z|[+|–hh[:mm]]] where square brackets denote optionality, and a pipe denotes a choice.
| Code | Meaning | Valid range |
|---|---|---|
| HH | Hour of day | 00-23 |
| MM | Minute of hour | 00-59 |
| ss | Second of minute | 00-59 |
| hh | Offset hours | 00-12 |
| mm | Offset minutes | 00-59 |
| : | Literal value serving as a separator | |
| Z | Literal value denoting UTC | |
| + | Literal value a positive offset from UTC | |
| - | Literal value a negative offset from UTC |
| Example | Valid | Notes |
|---|---|---|
| 01:02Z | May omit the seconds portion | |
| 01:02:03Z | May specify UTC offset with the Z character | |
| 01:02:03+01 | May specify an offset in hours without minutes | |
| 01:02:03+01:30 | May specify an offset in hours and minutes | |
| 01:02:03-01:00 | May specify a negative offset | |
| 01:02:03 | Missing an offset |