Skip to content

Commit 212c532

Browse files
committed
Update date-trunc.md
1 parent 6132511 commit 212c532

File tree

1 file changed

+3
-1
lines changed
  • docs/en/sql-reference/20-sql-functions/05-datetime-functions

1 file changed

+3
-1
lines changed

docs/en/sql-reference/20-sql-functions/05-datetime-functions/date-trunc.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Same as `<date_or_timestamp>`.
2525
## Examples
2626

2727
```sql
28-
SELECT DATE_TRUNC(MONTH, to_date('2022-07-07')), DATE_TRUNC(WEEK, to_date('2022-07-07'));
28+
SELECT
29+
DATE_TRUNC(MONTH, to_date('2022-07-07')),
30+
DATE_TRUNC(WEEK, to_date('2022-07-07'));
2931

3032
┌────────────────────────────────────────────────────────────────────────────────────┐
3133
│ DATE_TRUNC(MONTH, to_date('2022-07-07')) │ DATE_TRUNC(WEEK, to_date('2022-07-07')) │

0 commit comments

Comments
 (0)