0 Replies Latest reply on Mar 12, 2014 1:02 AM by trace1234

    A question about dates

    trace1234

      I am trying to make a form where the date entered in the plain numbers will be converted to mm/dd/yyyy.

      For example if user enters 02031999 it will be displayed as 02/03/1999.

      I can do do that by adding custom script

       

      event.value = util.printx("99/99/9999", event.value);

       

      but I need to use the date for calculation. Need two find difference in two dates in  months.

      I was plannig to use this http://forums.adobe.com/thread/1411057 for that. So the above function wont cut it.

      Any ideas how to make this happen?