Skip to content

Commit 31a332d

Browse files
committed
feat: add collapsable example 2 section
1 parent 8b66883 commit 31a332d

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
@@ -18,3 +18,18 @@ SELECT micros_at('5 days ago at this hour in Asia/Tokyo');
1818
```
1919

2020
</details>
21+
22+
<details>
23+
24+
<summary>Example 2: Future Weekday with AM/PM</summary>
25+
26+
Finds the time for next Friday at 8:00 PM in the `America/New_York` timezone.
27+
28+
```sql
29+
SELECT when_is('next friday at 8:00 pm in America/New_York');
30+
SELECT seconds_at('next friday at 8:00 pm in America/New_York');
31+
SELECT millis_at('next friday at 8:00 pm in America/New_York');
32+
SELECT micros_at('next friday at 8:00 pm in America/New_York');
33+
```
34+
35+
</details>

0 commit comments

Comments
 (0)