Function mz_expr::scalar::func::timezone_interval_timestamp
source ยท fn timezone_interval_timestamp(
a: Datum<'_>,
b: Datum<'_>,
) -> Result<Datum<'static>, EvalError>
Expand description
Converts the timestamp datum b
, which is assumed to be in the time of the timezone datum a
to a timestamptz
in UTC. The interval is not allowed to hold months, but there are no limits on the amount of seconds.
The interval acts like a chrono::FixedOffset
, without the -86,400 < x < 86,400
limitation.