Update date-time-functions.md

This commit is contained in:
alexey-milovidov 2020-11-22 07:38:31 +03:00 committed by GitHub
parent 276ba42234
commit 1cdb447b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -535,18 +535,7 @@ dateDiff('unit', startdate, enddate, [timezone])
- `unit` — Time unit, in which the returned value is expressed. [String](../../sql-reference/syntax.md#syntax-string-literal).
Supported values:
| unit |
| ---- |
|second |
|minute |
|hour |
|day |
|week |
|month |
|quarter |
|year |
Supported values: second, minute, hour, day, week, month, quarter, year.
- `startdate` — The first time value to compare. [Date](../../sql-reference/data-types/date.md) or [DateTime](../../sql-reference/data-types/datetime.md).