text field formatted as date
Dear all,
I use a german version of Adobe Acrobat XI (Version 11.0220). I like to generate a editable PDF form. On different pages of the form I use a script to set a field as default date to today if is it empty.
I put the following code in properties of the text field in the last section user defined script:
if(event.value == "")
{
event.value = util.printd("dd. mmmm yyyy", new Date())
}
Unfortunately I like to use a similar script to set only the month name and the year in english for different fields. But I got only german names if I use only mmmm yyyy. Any idea to overcome this?
Any suggestions are welcome.
Thanks in advance and greetings
Hans