Assuming I have an array of objects structured like this:
const events: Array<{year: number, month: number, date: number}> = [
{year: 2020, month: 10, date: 13},
{year: 2021: month: 3, date: 12},
{year: 2021: month: 9, date: 6},
{year: 2021: month 11, date 23},
]
If I specify a starting point of January 10th, 2021 within the array, how can I create a function that will return all dates from that starting point onward?