updated docs

This commit is contained in:
zvonand 2021-04-09 18:37:14 +03:00
parent dfa6e34fb2
commit b8d10d762e

View File

@ -147,6 +147,9 @@ Result:
└────────────────┘
```
!!! attention "Attention"
The return type `toStartOf*` functions described below is `Date` or `DateTime`. Though these functions can take `DateTime64` as an argument, passing them a `DateTime64` that is out of normal range (years 1970 - 2105) will give incorrect result.
## toStartOfYear {#tostartofyear}
Rounds down a date or date with time to the first day of the year.
@ -1069,4 +1072,3 @@ Result:
│ 2020-01-01 │
└────────────────────────────────────┘
```