Duration.Days
Syntaks
Duration.Days(duration as nullable duration) as nullable number
Omtrent
Returnerer dagsdelen af duration
.
Eksempel 1
Udtræk antallet af dage mellem to datoer.
brug
Duration.Days(#date(2022, 3, 4) - #date(2022, 2, 25))
output
7