My goal is to create an object called "Activity" in Angular 8, which will automatically generate an activity for each month upon creation.
For example:
export class Activity {
activityID = string;
activityName = string;
startDate = Date;
endDate = Date;
}
Imagine I create an Activity named "haircut", with a startDate of 01/01/2020 and an endDate of 31/12/2020. For every month within that date range, I need an activity reminder to get a haircut.
How can this functionality be achieved in Angular 8?