Skip to content

Commit

Permalink
removed message about functions not working with dates with 0 month/d…
Browse files Browse the repository at this point in the history
…ay as those dates don't exist

Signed-off-by: Matthew Wells <[email protected]>
  • Loading branch information
matthewryanwells committed Jul 7, 2023
1 parent 0c4a0b3 commit 7c9dab2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/user/ppl/functions/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ DAY
Description
>>>>>>>>>>>

Usage: day(date) extracts the day of the month for date, in the range 1 to 31. The dates with value 0 such as '0000-00-00' or '2008-00-00' are invalid.
Usage: day(date) extracts the day of the month for date, in the range 1 to 31.

Argument type: STRING/DATE/DATETIME/TIMESTAMP

Expand Down Expand Up @@ -669,7 +669,7 @@ DAYOFMONTH
Description
>>>>>>>>>>>

Usage: dayofmonth(date) extracts the day of the month for date, in the range 1 to 31. The dates with value 0 such as '0000-00-00' or '2008-00-00' are invalid.
Usage: dayofmonth(date) extracts the day of the month for date, in the range 1 to 31.

Argument type: STRING/DATE/DATETIME/TIMESTAMP

Expand All @@ -694,7 +694,7 @@ DAY_OF_MONTH
Description
>>>>>>>>>>>

Usage: day_of_month(date) extracts the day of the month for date, in the range 1 to 31. The dates with value 0 such as '0000-00-00' or '2008-00-00' are invalid.
Usage: day_of_month(date) extracts the day of the month for date, in the range 1 to 31.

Argument type: STRING/DATE/DATETIME/TIMESTAMP

Expand Down Expand Up @@ -1128,7 +1128,7 @@ MONTH
Description
>>>>>>>>>>>

Usage: month(date) returns the month for date, in the range 1 to 12 for January to December. The dates with value 0 such as '0000-00-00' or '2008-00-00' are invalid.
Usage: month(date) returns the month for date, in the range 1 to 12 for January to December.

Argument type: STRING/DATE/DATETIME/TIMESTAMP

Expand All @@ -1154,7 +1154,7 @@ MONTH_OF_YEAR
Description
>>>>>>>>>>>

Usage: month_of_year(date) returns the month for date, in the range 1 to 12 for January to December. The dates with value 0 such as '0000-00-00' or '2008-00-00' are invalid.
Usage: month_of_year(date) returns the month for date, in the range 1 to 12 for January to December.

Argument type: STRING/DATE/DATETIME/TIMESTAMP

Expand Down

0 comments on commit 7c9dab2

Please sign in to comment.