Skip to main content
Participant
November 1, 2017
Question

Create a Stamp that adds today's date each time

  • November 1, 2017
  • 3 replies
  • 4482 views

I don't understand why this is difficult.

I've created the stamp I need. I just want it to add the date each time I use it

I added javascript but that just adds the date the stamp was originally created, not the time it was used.

Even the ability to type it in manually and hen have it save/printable would be helpful.

This topic has been closed for replies.

3 replies

Participant
November 1, 2017

This is using Adobe DC. I don't seem to have a document processing option, so I can't get to the Page Template.

Participant
November 1, 2017

In the "calculate" > "custom calculation script box" I have :-

var myfield=getField("datebox");

var date=new Date();

date=util.printd("mmm dd yyyy", date);

Karl Heinz  Kremer
Community Expert
Community Expert
November 1, 2017

That should work. What is your stamps name? You can find this by opening the stamp file, and then going to the "Page Templates" functionality. You will see something like this:

aaaa=bbbb

The first part of this string is the internal stamp name, the second part after the equal sign is the name that gets presented to the user.

To force the stamp script to be executed every time you place stamp, this string has to start with a '#':

#aaaa=bbbb

If that '#' is not part of the internal stamp name, then the script will only be executed once.

Karl Heinz  Kremer
Community Expert
Community Expert
November 1, 2017

What is the script you are using in your stamp?