Browse Source

docs: gmt info (#8002)

pull/7996/head
Raju Udava 3 months ago committed by GitHub
parent
commit
6d1bf1ec39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      packages/noco-docs/docs/070.fields/040.field-types/060.formula/040.date-functions.md

8
packages/noco-docs/docs/070.fields/040.field-types/060.formula/040.date-functions.md

@ -128,7 +128,7 @@ DAY('2022-03-14 12:00:00') => 14
```
#### Remark
This function returns the day of the month as an integer between 1 and 31 (inclusive).
This function returns the day of the month as an integer between 1 and 31 (inclusive). Note that the day information retrieved is based on the timezone of the server (GMT by default). If the browser timezone is different from the server timezone, the day value may differ.
---
@ -147,12 +147,12 @@ MONTH('2022-03-14 12:00:00') => 3
```
#### Remark
This function returns the month of the year as an integer between 1 and 12 (inclusive).
This function returns the month of the year as an integer between 1 and 12 (inclusive). Note that the month information retrieved is based on the timezone of the server (GMT by default). If the browser timezone is different from the server timezone, the month value may differ.
---
## HOUR
The HOUR function returns the hour of the day as an integer.
The HOUR function returns the hour of the day as an integer.
#### Syntax
```plaintext
@ -165,7 +165,7 @@ HOUR('2022-03-14 12:00:00') => 12
```
#### Remark
This function returns the hour of the day as an integer between 0 and 23 (inclusive).
This function returns the hour of the day as an integer between 0 and 23 (inclusive). Hour information retrieved is based on a 24-hour clock & will be based on the timezone of the server (GMT by default). Note that, if browser timezone is different from the server timezone, the hour value may differ.
---

Loading…
Cancel
Save