12 Replies Latest reply on Feb 23, 2016 2:37 PM by George_Johnson

    Google chrome doesn't recoginize the util.printd() function

    leandroo94314211

      Hi,

       

      I would like to have my Adobe form to display a specific date with specific format. It works fine when the form is openend using any pdf reader, but when I try to open it using google chrome, it doesn't recognize the util.printd() function and only returns the current date.

       

      Those are the lines that is not working properly:

       

      var date = util.printd("dd/mm/yyyy", new Date(milliseconds));

      this.getField("dateConverted").value = date;

       

      Does anyone know what is going on or if there is another way to do this so Chrome can convert my date properly?