diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index e4a7b07033..4943f63871 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -2472,7 +2472,11 @@ TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'
       input, but on output it uses a space rather than <literal>T</literal>, as shown
       above.  This is for readability and for consistency with
       <ulink url="https://tools.ietf.org/html/rfc3339">RFC 3339</ulink> as
-      well as some other database systems.
+      well as some other database systems. The function call
+      <literal>to_char(current_timestamp AT TIME ZONE 'UTC',
+      'YYYY-MM-DD"T"HH24:MI:SSZ')</literal> outputs the current
+      UTC date/time in <acronym>ISO</acronym> 8601 format with
+      <literal>T</literal>.
      </para>
     </note>
 
