Skip to content

Commit 2bd3ff0

Browse files
committed
feat: add collapsable example 3 section
1 parent 31a332d commit 2bd3ff0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ SELECT micros_at('next friday at 8:00 pm in America/New_York');
3333
```
3434

3535
</details>
36+
37+
<details>
38+
39+
<summary>Example 3: Future Relative Date with a UTC Offset</summary>
40+
41+
Calculates the timestamp for exactly 2 months from now, at midnight, in the `UTC-8` timezone.
42+
43+
```sql
44+
SELECT when_is('in 2 months at midnight in UTC-8');
45+
SELECT seconds_at('in 2 months at midnight in UTC-8');
46+
SELECT millis_at('in 2 months at midnight in UTC-8');
47+
SELECT micros_at('in 2 months at midnight in UTC-8');
48+
```
49+
50+
</details>

0 commit comments

Comments
 (0)