0
How can I do this?
I want to add the birthday in that calander in that specific year, for example the bday date is 2-2-2001 so I add this in 2001 year and I want it will show that event in that date in every year now in next year 2022 it will show me that event in that day 2-2-2022, so how I should do that? This is code - https://code.sololearn.com/WNqJ6zJakUn3
4 Réponses
0
im getting a security error.
0
Ok
0
You need a for loop to generate new date string.
For example,
for(let i = 2022; i < 2100; i++){
newDateString = "" + i + "0202";
// add new date to the data object/array
}
0
Ok