The video for this lesson is currently being updated, please read the transcript instead.

Generate list of days in current month

So thinking about our approach here, what we want to be able to do is generate a list

of days to the current month and also if we need to, we might need to add in some of these

padding days.

So you'll notice like, this is February 2017, but we also have two days from January up

here and we have a few days from March down the bottom and the point of that is so that

we have this kind of clean sort of grid of days like this.

First step though is to generate all the days

To view the complete lesson you'll need to login or join this course.


Click to load comments...