Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Display System Time on Form

Avatar

Level 2

Is there any way to display the system time on a form?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can use the following script in click event of a button to display the current system date and time..You need to set Java script as language.

xfa.host.messageBox("" + Date());

Thanks

Srini

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You can use the following script in click event of a button to display the current system date and time..You need to set Java script as language.

xfa.host.messageBox("" + Date());

Thanks

Srini

Avatar

Level 2

Thanks!  Works perfectly.