Skip to content

Commit

Permalink
Update website/docs/sql/scalar_func/datetime.md
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Haubenschild <haubenmi@users.noreply.github.com>
  • Loading branch information
royshoo and haubenmi authored Nov 20, 2023
1 parent 6379a79 commit f2f97f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/sql/scalar_func/datetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ The `EXTRACT` function for `localized_week` will have the following results:
Result: 1

The first day of a week is set to Monday. The first day of the year 2023
is `2022-12-26`, since this is the first Monday, starting with which,
is `2022-12-26`, since this is the first Monday, starting with which
the week has at least 1 day in year 2023.

SELECT EXTRACT(localized_week FROM timestamp '2023-01-01', first_day_of_localized_week => 1, minimal_days_in_localized_first_week => 2);
Expand Down

0 comments on commit f2f97f1

Please sign in to comment.