Answers for "check if a string is a valid date in mm-dd-yyyy scala"

0

program to check if the given date is in in the format dd/mm/yyyy java

//Using Regex
boolean checkFormat;

if (input.matches("([0-9]{2})/([0-9]{2})/([0-9]{4})"))
    checkFormat=true;
else
   checkFormat=false;
Posted by: Guest on May-13-2021

Code answers related to "check if a string is a valid date in mm-dd-yyyy scala"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language