mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
DATE_TRUNC(<truncate field>, <date/datetime>) is a function that allows the user to truncate a timestamp to the specified field by zeroing out the rest of the fields. The function is implemented according to the spec from PostgreSQL: https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC Closes: #46319 |
||
---|---|---|
.. | ||
appendix | ||
endpoints | ||
functions | ||
language | ||
concepts.asciidoc | ||
getting-started.asciidoc | ||
index.asciidoc | ||
limitations.asciidoc | ||
overview.asciidoc | ||
security.asciidoc |