@@ -15,6 +15,7 @@ SELECT when_is('5 days ago at this hour in Asia/Tokyo');
1515SELECT seconds_at(' 5 days ago at this hour in Asia/Tokyo' );
1616SELECT millis_at(' 5 days ago at this hour in Asia/Tokyo' );
1717SELECT micros_at(' 5 days ago at this hour in Asia/Tokyo' );
18+ SELECT nanos_at(' 5 days ago at this hour in Asia/Tokyo' );
1819```
1920
2021</details >
@@ -30,6 +31,7 @@ SELECT when_is('next friday at 8:00 pm in America/New_York');
3031SELECT seconds_at(' next friday at 8:00 pm in America/New_York' );
3132SELECT millis_at(' next friday at 8:00 pm in America/New_York' );
3233SELECT micros_at(' next friday at 8:00 pm in America/New_York' );
34+ SELECT nanos_at(' next friday at 8:00 pm in America/New_York' );
3335```
3436
3537</details >
@@ -45,6 +47,7 @@ SELECT when_is('in 2 months at midnight in UTC-8');
4547SELECT seconds_at(' in 2 months at midnight in UTC-8' );
4648SELECT millis_at(' in 2 months at midnight in UTC-8' );
4749SELECT micros_at(' in 2 months at midnight in UTC-8' );
50+ SELECT nanos_at(' in 2 months at midnight in UTC-8' );
4851```
4952
5053</details >
@@ -60,6 +63,7 @@ SELECT when_is('last monday at 22:30');
6063SELECT seconds_at(' last monday at 22:30' );
6164SELECT millis_at(' last monday at 22:30' );
6265SELECT micros_at(' last monday at 22:30' );
66+ SELECT nanos_at(' last monday at 22:30' );
6367```
6468
6569</details >
@@ -75,6 +79,7 @@ SELECT when_is('December 31, 2026 at evening');
7579SELECT seconds_at(' December 31, 2026 at evening' );
7680SELECT millis_at(' December 31, 2026 at evening' );
7781SELECT micros_at(' December 31, 2026 at evening' );
82+ SELECT nanos_at(' December 31, 2026 at evening' );
7883```
7984
8085</details >
@@ -169,6 +174,7 @@ The following functions are provided by the Postgres extension.
169174| ` seconds_at ` | ` BIGINT ` | Returns the total seconds since the UNIX epoch. |
170175| ` millis_at ` | ` BIGINT ` | Returns the total milliseconds since the UNIX epoch. |
171176| ` micros_at ` | ` BIGINT ` | Returns the total microseconds since the UNIX epoch. |
177+ | ` nanos_at ` | ` BIGINT ` | Returns the total microseconds since the UNIX epoch. |
172178
173179## Usage
174180
0 commit comments