mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Minor docs fixes
This commit is contained in:
parent
70c95c7410
commit
aff9dfa630
@ -1387,11 +1387,11 @@ Like function `YYYYMMDDToDate()` but produces a [Date32](../../sql-reference/dat
|
||||
|
||||
## YYYYMMDDhhmmssToDateTime
|
||||
|
||||
Converts a number containing the year, month and day number to a [DateTime](../../sql-reference/data-types/datetime.md).
|
||||
Converts a number containing the year, month, day, hours, minute and second number to a [DateTime](../../sql-reference/data-types/datetime.md).
|
||||
|
||||
The output is undefined if the input does not encode a valid DateTime value.
|
||||
|
||||
This functions is the opposite of function `toYYYYMMDD()`.
|
||||
This functions is the opposite of function `toYYYYMMDDhhmmss()`.
|
||||
|
||||
**Syntax**
|
||||
|
||||
@ -1419,7 +1419,7 @@ SELECT YYYYMMDDToDateTime(20230911131415);
|
||||
Result:
|
||||
|
||||
```response
|
||||
┌────toYYYYMMDDhhmmssToDateTime(20230911131415)─┐
|
||||
┌──────YYYYMMDDhhmmssToDateTime(20230911131415)─┐
|
||||
│ 2023-09-11 13:14:15 │
|
||||
└───────────────────────────────────────────────┘
|
||||
```
|
||||
|
@ -757,7 +757,7 @@ Like function `YYYYMMDDToDate()` but produces a Date32.
|
||||
factory.registerFunction<FunctionYYYYMMDDhhmmssToDateTime>(
|
||||
FunctionDocumentation{
|
||||
.description = R"(
|
||||
Converts a number containing the year, month and day number to a DateTime.
|
||||
Converts a number containing the year, month, day, hour, minute and second number to a DateTime.
|
||||
The output is undefined if the input does not encode a valid DateTime value.
|
||||
This functions is the opposite of function `toYYYYMMDD()`.
|
||||
)",
|
||||
|
Loading…
Reference in New Issue
Block a user