You tried to make a date with invalid components.
For example, a month greater than 12, a day greater than 29 on February, an April 31, and so on...