Skip to content

Commit

Permalink
docs: gmt info (#8002)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstala committed Mar 29, 2024
1 parent 2f42eb2 commit 6d1bf1e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---

Expand All @@ -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
Expand All @@ -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.

---

Expand Down

0 comments on commit 6d1bf1e

Please sign in to comment.