We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea16262 commit 2e4486eCopy full SHA for 2e4486e
README.md
@@ -3,3 +3,16 @@
3
<img src="./logo.jpeg" alt="pg-when-logo" width="256" align="right" style="margin: 0 0 1em 1em;"/>
4
5
A PostgreSQL extension for creating time values with natural language.
6
+
7
+<details>
8
9
+<summary>Example 1: Relative Past in a Specific Timezone</summary>
10
11
+```sql
12
+SELECT when_is('5 days ago at this hour in Asia/Tokyo');
13
+SELECT seconds_at('5 days ago at this hour in Asia/Tokyo');
14
+SELECT millis_at('5 days ago at this hour in Asia/Tokyo');
15
+SELECT micros_at('5 days ago at this hour in Asia/Tokyo');
16
+```
17
18
+</details>
0 commit comments