Sdílet prostřednictvím


List.Durations

Syntaxe

List.Durations(
    start as duration,
    count as number,
    step as duration
) as list

Informace

Vrátí seznam countduration hodnot, počínaje start a s přírůstkem o durationstep.

Příklad 1

Vytvořte seznam 5 hodnot počínaje 1 hodinou a přírůstkem o hodinu.

Využití

List.Durations(#duration(0, 1, 0, 0), 5, #duration(0, 1, 0, 0))

Výstup

{
    #duration(0, 1, 0, 0),
    #duration(0, 2, 0, 0),
    #duration(0, 3, 0, 0),
    #duration(0, 4, 0, 0),
    #duration(0, 5, 0, 0)
}