Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90afc7d

Browse files
committed
Add date_trunc('', interval) documentation mention
Report from Eric Howe
1 parent6668ad1 commit90afc7d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6567,6 +6567,20 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
65676567
<entry><literal>2001-02-16 20:00:00</literal></entry>
65686568
</row>
65696569

6570+
<row>
6571+
<entry>
6572+
<indexterm>
6573+
<primary>date_trunc</primary>
6574+
</indexterm>
6575+
<literal><function>date_trunc(<type>text</type>, <type>interval</type>)</function></literal>
6576+
</entry>
6577+
<entry><type>interval</type></entry>
6578+
<entry>Truncate to specified precision; see also <xref linkend="functions-datetime-trunc">
6579+
</entry>
6580+
<entry><literal>date_trunc('hour', interval '2 days 3 hours 40 minutes')</literal></entry>
6581+
<entry><literal>2 days 03:00:00</literal></entry>
6582+
</row>
6583+
65706584
<row>
65716585
<entry>
65726586
<indexterm>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp