Log in

TZTimestamp Data Type

string

TZTimestamp fields represent a date/time combination with a timezone offset, in an ISO 8601 format.

The format is yyyyMMdd-HH:mm:ss[.SSS][Z|[+|–hh[:oo]]] where square brackets denote optionality, and a pipe denotes a choice.

CodeMeaningValid range
yyyyYear0000-9999
MMMonth of year01-12
ddDay of month01-31
HHHour of day00-23
mmMinute of hour00-59
ssSecond of minute00-59
SSSFractions of seconds
hhOffset hours00-12
ooOffset minutes00-59
:Literal value serving as a separator
ZLiteral value denoting UTC
+Literal value a positive offset from UTC
-Literal value a negative offset from UTC

The fractions of seconds, including the period, may be omitted. The fraction may include 3 digits to convey milliseconds, 6 digits to convey microseconds, 9 digits to convey nanoseconds, 12 digits to convey picoseconds; Other number of digits may be used with bilateral agreement.

Examples

ExampleValidNotes
20060901-07:39:00Z
20060901-02:39:00-05
20060901-15:39:00+08
20060901-13:09:00+05:30
20060901-13:09:00.123+05:30
20060901-07:39:00No offset