set timezone to 'Europe/Moscow';
select
'2023-01-01 00:00:00'::timestamptz as timestamp
, '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
, extract(year from '2023-01-01 00:00:00'::timestamptz at time zone 'UTC') as year_utc
;