Duration methods
Use these methods with time.Duration values.
Use these methods with time.Duration values.
DURATION.Abs ⟼ time.DurationReturns the absolute value of the given time.Duration value. Read More »
DURATION.Hours ⟼ float64Returns the time.Duration value as a floating point number of hours. Read More »
DURATION.Microseconds ⟼ int64Returns the time.Duration value as an integer microsecond count. Read More »
DURATION.Milliseconds ⟼ int64Returns the time.Duration value as an integer millisecond count. Read More »
DURATION.Minutes ⟼ float64Returns the time.Duration value as a floating point number of minutes. Read More »
DURATION.Nanoseconds ⟼ int64Returns the time.Duration value as an integer nanosecond count. Read More »
DURATION1.Round DURATION2Returns the result of rounding DURATION1 to the nearest multiple of DURATION2. Read More »
DURATION.Seconds ⟼ float64Returns the time.Duration value as a floating point number of seconds. Read More »
DURATION1.Truncate DURATION2 ⟼ time.DurationReturns the result of rounding DURATION1 toward zero to a multiple of DURATION2. Read More »