Function mz_expr::scalar::func::timezone_interval_timestamptz
source ยท fn timezone_interval_timestamptz(
a: Datum<'_>,
b: Datum<'_>,
) -> Result<Datum<'static>, EvalError>
Expand description
Converts the UTC timestamptz datum b
, to the local timestamp of the timezone datum a
.
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.