Skip to content

Commit

Permalink
date-and-time-functions: Update reference manual
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Mar 26, 2024
1 parent 5e9a4e3 commit 2ec8f4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions-and-operators/date-and-time-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ aliases: ['/docs/dev/functions-and-operators/date-and-time-functions/','/docs/de

# Date and Time Functions

TiDB supports all of the [date and time functions](https://dev.mysql.com/doc/refman/5.7/en/numeric-functions.html) available in MySQL 5.7.
TiDB supports all of the [date and time functions](https://dev.mysql.com/doc/refman/8.0/en/numeric-functions.html) available in MySQL 8.0.

> **Note:**
>
Expand Down Expand Up @@ -82,7 +82,7 @@ For details, see [Date and Time Functions](https://dev.mysql.com/doc/refman/8.0/

## MySQL compatibility

The function `str_to_date()` is supported by TiDB, but is unable to parse all date and time values. In addition, the following date and time formatting options are **not implemented**:
The function `STR_TO_DATE()` is supported by TiDB, but is unable to parse all date and time values. In addition, the following date and time formatting options are **not implemented**:

| Format | Description |
|--------|---------------------------------------------------------------------------------------|
Expand All @@ -101,4 +101,4 @@ See [issue #30082](https://github.com/pingcap/tidb/issues/30082) for more detail

## Related system variables

The `default_week_format` variable affects the `WEEK()` function.
The [`default_week_format`](/system-variables.md#default_week_format) variable affects the `WEEK()` function.

0 comments on commit 2ec8f4d

Please sign in to comment.