Print Page | Close Window


Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: JavaScript
Forum Description: Discussions relating to the use of JavaScript within PDF.
Printed Date: 07 Dec 2019 at 3:55pm
Software Version: Web Wiz Forums 11.10 -

Topic: Date
Posted By: khloro
Subject: Date
Date Posted: 16 Dec 2014 at 6:19pm
Currently I am using this java script on a custom stamp

event.value = util.printd('d-mmm-yyyy', new Date());

Which gives me date-Month-year

What would be the correct script to have it in spanish! HAHA!

It would read then


Posted By: gkaiseril
Date Posted: 16 Dec 2014 at 8:25pm
Change the language for the product or the OS to EspaƱol.
But I think it would get the capitalization correct.

Posted By: try67
Date Posted: 18 Dec 2014 at 2:41pm
You can use this code to specify the Spanish localized date strings:
util.printd("date(es){D-MMM-YYYY}", new Date(), true);

- Acrobat Expert - Contact me personally at
Check out my custom-made scripts website:

Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -