Skip to main content

timezone_interval_timestamp_tz_binary

Function timezone_interval_timestamp_tz_binary 

Source
fn timezone_interval_timestamp_tz_binary(
    interval: Interval,
    tstz: CheckedTimestamp<DateTime<Utc>>,
) -> Result<CheckedTimestamp<NaiveDateTime>, 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.