(year)
| 58 | } |
| 59 | |
| 60 | function leapChecker(year){ |
| 61 | if(year%4==0 || (year%100==0 && year%400==0)){ |
| 62 | months[1]=29; |
| 63 | } |
| 64 | else{ |
| 65 | months[1]=28; |
| 66 | } |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | } |
| 73 | function checkBirthday(bdate,bmonth,byear,currentDay,currentMonth,currentYear){ |
| 74 | if(bdate==currentDay && bmonth===currentMonth && byear<currentYear){ |
| 75 | let msg=document.getElementById("wish"); |