How it works
Months and years are added first, then weeks and days. When the day does not exist in the new month, the last day of that month is used: 31 January plus one month is 28 February (29 in a leap year).
Everything is worked out in your browser. Nothing you type is sent anywhere.