Skip to content

Commit 1b16fa7

Browse files
committed
Update date-trunc.md
1 parent bc39924 commit 1b16fa7

File tree

1 file changed

+2
-2
lines changed
  • docs/en/sql-reference/20-sql-functions/05-datetime-functions

1 file changed

+2
-2
lines changed

docs/en/sql-reference/20-sql-functions/05-datetime-functions/date-trunc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Truncates a date or timestamp to a specified precision. For example, if you trun
1010
## Syntax
1111

1212
```sql
13-
DATE_TRUNC(<precision>, <date_or_time_expr>)
13+
DATE_TRUNC(<precision>, <date_or_timestamp>)
1414
```
1515

1616
| Parameter | Description |
1717
|-----------------------|------------------------------------------------------------------------------------------------------------|
1818
| `<precision>` | Must be of the following values: `YEAR`, `QUARTER`, `MONTH`, `WEEK`, `DAY`, `HOUR`, `MINUTE` and `SECOND`. |
19-
| `<date_or_time_expr>` | A value of `DATE` or `TIMESTAMP` type. |
19+
| `<date_or_timestamp>` | A value of `DATE` or `TIMESTAMP` type. |
2020

2121
## Return Type
2222

0 commit comments

Comments
 (0)