From 84caaf9bab0a7e4247790e179d62791431379a61 Mon Sep 17 00:00:00 2001 From: zhang2014 Date: Sun, 25 Feb 2018 12:01:13 +0800 Subject: [PATCH] add doc with toStartOfDay() --- docs/en/functions/date_time_functions.md | 4 ++++ docs/ru/functions/date_time_functions.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/en/functions/date_time_functions.md b/docs/en/functions/date_time_functions.md index 162b09b8c16..da6ad9b4a7c 100644 --- a/docs/en/functions/date_time_functions.md +++ b/docs/en/functions/date_time_functions.md @@ -85,6 +85,10 @@ Note: If you need to round a date with time to any other number of seconds, minu Rounds down a date with time to the start of the hour. +## toStartOfDay + +Rounds down a date with time to the start of the day. + ## toTime Converts a date with time to a certain fixed date, while preserving the time. diff --git a/docs/ru/functions/date_time_functions.md b/docs/ru/functions/date_time_functions.md index b552255b7fd..c9e0c3eff28 100644 --- a/docs/ru/functions/date_time_functions.md +++ b/docs/ru/functions/date_time_functions.md @@ -74,6 +74,9 @@ SELECT ## toStartOfHour Округляет дату-с-временем вниз до начала часа. +## toStartOfDay +Округляет дату-с-временем вниз до начала дня. + ## toTime Переводит дату-с-временем на некоторую фиксированную дату, сохраняя при этом время.