diff --git a/doc-surrealdb_versioned_docs/version-latest/surrealql/functions/database/time.mdx b/doc-surrealdb_versioned_docs/version-latest/surrealql/functions/database/time.mdx index 270def2f4..3408cc83a 100644 --- a/doc-surrealdb_versioned_docs/version-latest/surrealql/functions/database/time.mdx +++ b/doc-surrealdb_versioned_docs/version-latest/surrealql/functions/database/time.mdx @@ -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: @@ -593,4 +593,4 @@ RETURN time::from::unix(1000); d"1970-01-01T00:16:40Z" ``` -

\ No newline at end of file +