I need to check a String if has the correct date format (DD/MM/YYYY).
I have created
SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
but now i dont know how to compare my String with dateFormat to find if is valid. Also i have to check if DD is from 01-31 MM is from 01-12


Sign In
Create Account


Back to top









