Commit 90afc7d8 authored by Bruce Momjian's avatar Bruce Momjian

Add date_trunc('', interval) documentation mention

Report from Eric Howe
parent 6668ad1d
......@@ -6567,6 +6567,20 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<entry><literal>2001-02-16 20:00:00</literal></entry>
</row>
<row>
<entry>
<indexterm>
<primary>date_trunc</primary>
</indexterm>
<literal><function>date_trunc(<type>text</type>, <type>interval</type>)</function></literal>
</entry>
<entry><type>interval</type></entry>
<entry>Truncate to specified precision; see also <xref linkend="functions-datetime-trunc">
</entry>
<entry><literal>date_trunc('hour', interval '2 days 3 hours 40 minutes')</literal></entry>
<entry><literal>2 days 03:00:00</literal></entry>
</row>
<row>
<entry>
<indexterm>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment