If you're using an orchestration platform that only supports UTC timezones - you may find it difficult cumbersome to schedule jobs to run on local timezones, accounting for daylight savings time switchovers, etc. Let's see how we can write a dbt macro using some builtin python modules to help us out.
-- macros/is_nz_business_hours.sql
{% macro is_nz_business_hours() %}
{% set flag = 0 %}
{% set dt = modules.datetime %}
{% set pz = modules.pytz %}