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

Commitf67a3d4

Browse files
committed
doc: add ISO 8601 extended format example using to_char()
Reported-by: juha.mustonen@iki.fiDiscussion:https://postgr.es/m/20170217160154.6101.52806@wrigleys.postgresql.orgCo-authored-by: Erik WienholdBackpatch-through: master
1 parentbbf1f13 commitf67a3d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8748,6 +8748,12 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
87488748
<entry><literal>to_char(current_timestamp, 'FMDay,&nbsp;FMDD&nbsp;&nbsp;HH12:MI:SS')</literal></entry>
87498749
<entry><literal>'Tuesday,&nbsp;6&nbsp;&nbsp;05:39:18'</literal></entry>
87508750
</row>
8751+
<row>
8752+
<entry><literal>to_char(current_timestamp AT TIME ZONE
8753+
'UTC', 'YYYY-MM-DD"T"HH24:MI:SS"Z"')</literal></entry>
8754+
<entry><literal>'2022-12-06T05:39:18Z'</literal>,
8755+
<acronym>ISO</acronym> 8601 extended format</entry>
8756+
</row>
87518757
<row>
87528758
<entry><literal>to_char(-0.1, '99.99')</literal></entry>
87538759
<entry><literal>'&nbsp;&nbsp;-.10'</literal></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp