[typo](docs)add new attention of str_to_date function (#19264)

This commit is contained in:
lsy3993
2023-05-05 09:40:06 +08:00
committed by GitHub
parent 9813406757
commit 44d95aa3d9
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ under the License.
`DATETIME STR TWO DATES (VARCHAR STR, VARCHAR format)`
Convert STR to DATE type by format specified, if the conversion result does not return NULL
Convert STR to DATE type by format specified, if the conversion result does not return NULL. Note that the 'format' parameter specifies the format of the first parameter.
The `format` supported is consistent with [date_format](date_format.md)

View File

@ -30,7 +30,7 @@ under the License.
`DATETIME STR_TO_DATE(VARCHAR str, VARCHAR format)`
通过format指定的方式将str转化为DATE类型,如果转化结果不对返回NULL
通过format指定的方式将str转化为DATE类型,如果转化结果不对返回NULL。注意format指定的是第一个参数的格式。
支持的format格式与[date_format](date_format.md)一致