Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Syntax
List.Dates(
start as date,
count as number,
step as duration
) as list
About
Returns a list of date values of size count, starting at start. The given increment, step, is a duration value that is added to every value.
Example
Create a list of 5 values starting from New Year's Eve (#date(2011, 12, 31)) incrementing by 1 day (#duration(1, 0, 0, 0)).
Usage
List.Dates(#date(2011, 12, 31), 5, #duration(1, 0, 0, 0))
Output
{
#date(2011, 12, 31),
#date(2012, 1, 1),
#date(2012, 1, 2),
#date(2012, 1, 3),
#date(2012, 1, 4)
}