Skip to content

Commit

Permalink
Update 4.date-and-time.md (#1037)
Browse files Browse the repository at this point in the history
* Update 4.date-and-time.md

* Update 4.date-and-time.md
  • Loading branch information
foesa-yang authored Oct 12, 2021
1 parent 3f62909 commit 7cfd9ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@
还可以使用`WITH`语句设置具体日期和时间,例如:
```ngql
nebula> WITH time({hour: 12, minute: 31, second: 14}) AS d RETURN d;
nebula> WITH time({hour: 12, minute: 31, second: 14, millisecond:111, microsecond: 222}) AS d RETURN d;
+-----------------+
| d |
+-----------------+
| 12:31:14.000000 |
| 12:31:14.111222 |
+-----------------+
nebula> WITH date({year: 1984, month: 10, day: 11}) AS x RETURN x + 1;
Expand Down

0 comments on commit 7cfd9ce

Please sign in to comment.