Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
Signed-off-by: Lantao Jin <[email protected]>
  • Loading branch information
LantaoJin committed Dec 30, 2024
1 parent d63d9cc commit 3f39cba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/user/dql/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ The format specifiers found in this table are the same as those found in the `DA
* - DAY
- %d
* - WEEK
- %X
- %W
* - MONTH
- %m
* - YEAR
Expand Down Expand Up @@ -1984,6 +1984,10 @@ Example::
| 202302 |
+------------------------------------------------+

Notice:

Function `extract(WEEK FROM ...)` returns the number of the ISO 8601 week-of-week-based-year. ISO week-numbering is considered to start on a Monday and week 1 is the first week with >3 days. In the ISO week-numbering system, it is possible for early-January dates to be part of the 52nd or 53rd week of the previous year, and for late-December dates to be part of the first week of the next year. For example, 2005-01-02 is part of the 53rd week of year 2004, while 2012-12-31 is part of the first week of 2013. Ref https://en.wikipedia.org/wiki/ISO_week_date


FROM_DAYS
---------
Expand Down

0 comments on commit 3f39cba

Please sign in to comment.