how to check whether the 30 or 31th day of a month does exist or not.
31.09.2016 doesn't exist but will be shown as 01.10.2016 in Java and Javascript. Even with the correct locales etc. Any solutions in javascript or java is welcome since an ajax request can solve this as well.
Thanks in advance