Duration.Days

Duration.Days

Returns the days part of this duration.

function (optional duration as nullable any) as nullable any

Description

Returns the day component of the provided duration value, duration.

Category

Duration

Examples

Find the day in #duration(5, 4, 3, 2).

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

5