Date/Times
The timestamp type represents a signed 64-bit number of nanoseconds since the
Unix epoch, i.e., an instant in UTC.
The duration type represents a signed 64-bit number of nanoseconds.
Note
Other SQL date and time types (e.g.,
date,timefor a time of day, andinterval) are reserved for a future version of SuperSQL. At that time, detailed syntax and semantics for these types will be documented here. Until then, a SQLDATEliteral such asDATE '2020-01-01', or a SQL cast likeCAST(x AS DATE), produces atimestampat midnight UTC.