summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/time/Truncate.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/time/Truncate.md')
-rw-r--r--docs/content/en/methods/time/Truncate.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/content/en/methods/time/Truncate.md b/docs/content/en/methods/time/Truncate.md
index 64751f2c1..b797afec0 100644
--- a/docs/content/en/methods/time/Truncate.md
+++ b/docs/content/en/methods/time/Truncate.md
@@ -3,13 +3,10 @@ title: Truncate
description: Returns the result of rounding TIME down to a multiple of DURATION since January 1, 0001, 00:00:00 UTC.
categories: []
keywords: []
-action:
- related:
- - functions/time/AsTime
- - functions/time/ParseDuration
- - methods/time/Round
- returnType: time.Time
- signatures: [TIME.Truncate DURATION]
+params:
+ functions_and_methods:
+ returnType: time.Time
+ signatures: [TIME.Truncate DURATION]
---
The `Truncate` method operates on TIME as an absolute duration since the [zero time](g); it does not operate on the presentation form of the time. If DURATION is a multiple of one hour, `Truncate` may return a time with a non-zero minute, depending on the time zone.