Skip to content

Commit

Permalink
Typo in time::month() function (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjnield authored Aug 31, 2024
1 parent 93d826d commit 8702ad9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ RETURN time::minute(d"2021-11-01T08:30:17+00:00");
The `time::month` function extracts the month as a number from a datetime.

```surql title="API DEFINITION"
time::minute(datetime) -> number
time::month(datetime) -> number
```
The following example shows this function, and its output, when used in a [`RETURN`](/docs/surrealdb/surrealql/statements/return) statement:

Expand Down Expand Up @@ -593,4 +593,4 @@ RETURN time::from::unix(1000);
d"1970-01-01T00:16:40Z"
```

<br /><br />
<br /><br />

0 comments on commit 8702ad9

Please sign in to comment.