From 8702ad95fbabf8218786a58f38f4c2effe3d6301 Mon Sep 17 00:00:00 2001 From: Matt Nield <64328730+matthewjnield@users.noreply.github.com> Date: Sat, 31 Aug 2024 07:04:16 -0400 Subject: [PATCH] Typo in `time::month()` function (#800) --- .../version-latest/surrealql/functions/database/time.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +