Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Adding a clock to a field in a PDF using Adobe Designer

Avatar

Level 2

Hi,

I am trying to add a clock field to a PDF.

It needs to be a continous clock in the format of HH:MM:SS.

I am having alot of trouble.

It is probably quite simple.

Can anyone help?

Thanks,

Damo.

3 Replies

Avatar

Level 5

Drag and drop the current date field which is under.Object Library > Custom > Current Date.

Select the field In the Binding change the Date Fomat to Time.If you want to change the pattern Object > Field > Pattern > Locale Select English(USA) and select what ever pattern you want.

Then modify the script of the same field as below.

$.rawValue = num2time(time(), "HH:MM:SS")  Language should be formcalc.

Thanks

Vjay

Avatar

Level 2

Hi Vjay,

Thanks for your reply.

Unfortunately this only gives me a timestamp for when the Pdf is opened.

I need a continuous clock.

Thanks.

Avatar

Level 5

This would help you ... http://forums.adobe.com/thread/581377.

You can check the attachment in that blog.

Vjay