Function mz_expr::func::timezone_timestamptz
source ยท pub fn timezone_timestamptz(
tz: Timezone,
utc: DateTime<Utc>,
) -> Result<NaiveDateTime, EvalError>
Expand description
Converts the UTC timestamptz utc
to the local timestamp of the timezone tz
.
For example, EST
and 2020-11-11T17:39:14Z
would return 2020-11-11T12:39:14
.