Table of contents
TOC
Collapse the table of content
Expand the table of content

List.Times

Owen Duncan|Last Updated: 4/19/2018

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

About

Returns a list of time values of size count, starting at start. The given increment, step, is a duration value that is added to every value.

Example 1

Create a list of 4 values starting from noon (#time(12, 0, 0)) incrementing by one hour (#duration(0, 1, 0, 0)).

List.Times(#time(12, 0, 0), 4, #duration(0, 1, 0, 0))
12:00:00
13:00:00
14:00:00
15:00:00
© 2018 Microsoft