When only the month is changed and that the current date is end of month, like 31 January to February. It can generate an out of range date resulting in an app crash.
Ensure that the day is not greater than the last day of the new month before creating the date.
When only the month is changed and that the current date is end of month, like 31 January to February. It can generate an out of range date resulting in an app crash. Ensure that the day is not greater than the last day of the new month before creating the date.