TZTimestamp Data Type

string

TZTimestamp fields contain a combination of date and time 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:00ZMay specify UTC offset with the Z character
20060901-02:39:00-05May specify a negative offset in hours
20060901-15:39:00+08May specify a position offset in hours
20060901-13:09:00+05:30May specify an offset in hours and minutes
20060901-13:09:00.123+05:30May include fractions of a second
20060901-07:39:00Missing an offset

On this page