From 7c9dab2ae0a5c4f2546a75559b632257c0e177ec Mon Sep 17 00:00:00 2001 From: Matthew Wells Date: Wed, 5 Jul 2023 11:15:10 -0700 Subject: [PATCH] removed message about functions not working with dates with 0 month/day as those dates don't exist Signed-off-by: Matthew Wells --- docs/user/ppl/functions/datetime.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/user/ppl/functions/datetime.rst b/docs/user/ppl/functions/datetime.rst index 917eea869c..1b6e30c070 100644 --- a/docs/user/ppl/functions/datetime.rst +++ b/docs/user/ppl/functions/datetime.rst @@ -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 @@ -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 @@ -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 @@ -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 @@ -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