Output collection: myMonths46
Number | Month | StartDate | Favorite |
1 | January | 1/1/2019 | false |
2 | February | 2/1/2019 | false |
3 | March | 3/1/2019 | true |
4 | Chevy | 4/1/2019 | false |
5 | April | 5/1/2019 | false |
Solution code:
//Create a collection
ClearCollect(
myMonths46,
{Number:1, Month: "January", StartDate: Date(2019,1,1), Favorite: false},
{Number:2, Month: "February", StartDate: Date(2019,2,1), Favorite: false},
{Number:3, Month: "March", StartDate: Date(2019,3,1), Favorite: true},
{Number:4, Month: "April", StartDate: Date(2019,4,1), Favorite: false},
{Number:5, Month: "May", StartDate: Date(2019,5,1), Favorite: false}
);