Duration.TotalDays

Syntax

Duration.TotalDays(duration as nullable duration) as nullable number

About

Returns the total days spanned by duration, including any days (or partial days) represented by the hours, minutes, and seconds.

Example

Find the total days spanned by a duration value.

Usage

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

Output

5.1687731481481478