1 2 Previous Next 21 Replies Latest reply on Sep 19, 2008 8:23 AM by 843785

    Date validation- need help

    843785
      Hi, I am trying to validate my date input from the front end which has to be in mm/dd/yyyy format only...I am unsing the code as shown below

      DateFormat dateFormatter = new SimpleDateFormat("mm/dd/yyyy");
      convertedValue = dateFormatter.parse(fieldValue);
      break;     

      but this is not working..any format is being accepted :(
        1 2 Previous Next