set timezone TO 'Europe/Moscow';
select
'2023-01-01 00:00:00'::timestamptz as timestamp_local
, '2023-01-01 00:00:00'::timestamptz at time zone 'UTC' as timestamp_utc
, extract(year from '2023-01-01 00:00:00'::timestamptz) as year_local
, extract(year from '2023-01-01 00:00:00'::timestamptz at time zone 'UTC') as year_utc