diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
new file mode 100644
index 4635cf2..c392109
*** a/doc/src/sgml/func.sgml
--- b/doc/src/sgml/func.sgml
*************** SELECT EXTRACT(CENTURY FROM TIMESTAMP '2
*** 6605,6617 ****
        <term><literal>day</literal></term>
        <listitem>
         <para>
!         The day (of the month) field (1 - 31)
         </para>
  
  <screen>
  SELECT EXTRACT(DAY FROM TIMESTAMP '2001-02-16 20:38:40');
  <lineannotation>Result: </lineannotation><computeroutput>16</computeroutput>
  </screen>
        </listitem>
       </varlistentry>
  
--- 6605,6624 ----
        <term><literal>day</literal></term>
        <listitem>
         <para>
!         For <type>timestamp</type> values, the day (of the month) field
!         (1 - 31) ; for <type>interval</type> values, the number of days
         </para>
  
  <screen>
  SELECT EXTRACT(DAY FROM TIMESTAMP '2001-02-16 20:38:40');
  <lineannotation>Result: </lineannotation><computeroutput>16</computeroutput>
+ 
+ SELECT EXTRACT(DAY FROM INTERVAL '40 days 1 minute');
+ <lineannotation>Result: </lineannotation><computeroutput>40</computeroutput>
  </screen>
+ 
+ 
+ 
        </listitem>
       </varlistentry>
  
*************** SELECT EXTRACT(MINUTE FROM TIMESTAMP '20
*** 6827,6833 ****
        <listitem>
         <para>
          For <type>timestamp</type> values, the number of the month
!         within the year (1 - 12) ; for <type>interval</type> values
          the number of months, modulo 12 (0 - 11)
         </para>
  
--- 6834,6840 ----
        <listitem>
         <para>
          For <type>timestamp</type> values, the number of the month
!         within the year (1 - 12) ; for <type>interval</type> values,
          the number of months, modulo 12 (0 - 11)
         </para>
  
