Skip to main content

Duration.TotalDays

Returns the total days this duration spans.

Syntax

Duration.TotalDays(
duration as duration
) as number

Remarks

Returns the total days spanned by duration.

Examples

Example #1

Find the total days spanned by a duration value.

Duration.TotalDays(#duration(5, 4, 3, 2))

Result:

5.1687731481481478

Category

Duration