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

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 "program to check if the given date is in in the format dd/mm/yyyy java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language