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

    Date validation- need help

      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);

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