New Dates Can Take Out Of Bounds Values
You can create a new date by feeding it arguments for year, month, and day.
What happens if we push the day value out of bounds?
It rolls over to the next month.
Does the same happen when we push the month value out of bounds?
Yep.
What about negative values?
It rolls the month, and consequently the year, back.
Last updated