diff --git a/doc/src/sgml/datetime.sgml b/doc/src/sgml/datetime.sgml
index cb250a63d4..4258bf83af 100644
--- a/doc/src/sgml/datetime.sgml
+++ b/doc/src/sgml/datetime.sgml
@@ -908,22 +908,22 @@ $ cal 9 1752
This definition does, however, provide a way to obtain the astronomical
definition when you need it: do the arithmetic in time
- zone UTC-12. For example,
+ zone UTC+12. For example,
-=> SELECT extract(julian from '2021-06-23 7:00:00-04'::timestamptz at time zone 'UTC-12');
+=> SELECT extract(julian from '2021-06-23 7:00:00-04'::timestamptz at time zone 'UTC+12');
date_part
--------------------
- 2459389.9583333335
+ 2459388.9583333335
(1 row)
-=> SELECT extract(julian from '2021-06-23 8:00:00-04'::timestamptz at time zone 'UTC-12');
+=> SELECT extract(julian from '2021-06-23 8:00:00-04'::timestamptz at time zone 'UTC+12');
date_part
-----------
- 2459390
+ 2459389
(1 row)
-=> SELECT extract(julian from date '2021-06-24');
+=> SELECT extract(julian from date '2021-06-23');
date_part
-----------
- 2459390
+ 2459389
(1 row)