diff --git a/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md b/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md index 1193bd809eb..282d6bc93b6 100644 --- a/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md +++ b/docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md @@ -82,8 +82,8 @@ |Function| Description | |---- | ----| - |int now() | Returns the current date and time of the system timezone. | - |timestamp timestamp() | Returns the current date and time of the system timezone. | + |int now() | Returns the current timestamp of the system. | + |timestamp timestamp() | Returns the current timestamp of the system. | |date date() | Returns the current UTC date based on the current system. | |time time() | Returns the current UTC time based on the current system. | |datetime datetime() | Returns the current UTC date and time based on the current system. | diff --git a/docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md b/docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md index e290b6ceb58..2c50b1954b8 100644 --- a/docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md +++ b/docs-2.0/3.ngql-guide/3.data-types/4.date-and-time.md @@ -96,7 +96,7 @@ The `TIMESTAMP` data type is used for values that contain both date and time par - Supported `TIMESTAMP` inserting methods: timestamp, `timestamp()` function, and `now()` function. -- `timestamp()` function accepts empty arguments to get the timestamp of the current timezone. +- `timestamp()` function accepts empty arguments to get the current timestamp. - `timestamp()` function can convert `DATETIME` to `TIMESTAMP`. The data type of `DATETIME` should be a `string`. diff --git a/docs-2.0/3.ngql-guide/6.functions-and-expressions/3.date-and-time.md b/docs-2.0/3.ngql-guide/6.functions-and-expressions/3.date-and-time.md index f304db740d4..0681d403bc1 100644 --- a/docs-2.0/3.ngql-guide/6.functions-and-expressions/3.date-and-time.md +++ b/docs-2.0/3.ngql-guide/6.functions-and-expressions/3.date-and-time.md @@ -4,8 +4,8 @@ NebulaGraph supports the following built-in date and time functions: | Function | Description | |:-- |:-- | -| int now() | Returns the current date and time of the system time zone. | -| timestamp timestamp() | Returns the current date and time of the system time zone. | +| int now() | Returns the current timestamp of the system. | +| timestamp timestamp() | Returns the current timestamp of the system. | | date date() | Returns the current UTC date based on the current system. | | time time() | Returns the current UTC time based on the current system. | | datetime datetime() | Returns the current UTC date and time based on the current system. |