How to Print Current Date in Summary?

By: Tiger - hntiger
How to Print Current Date in Summary?
2002-11-05 01:38
Hi all,
How can to print Date value in Summary tag? Is there any DATE Variable as PAGE_COUNT Variable?
Please help me.
Thank you very much
Best rgds.


By: J rgen Lundberg - jorgen99
RE: How to Print Current Date in Summary?
2002-11-05 03:58
I don't know if there is a predefined variable DATE, but
why not put the date in the parameters Map that you use
with the fill-method?

/ J rgen




By: Giulio Toffoli - gt78
RE: How to Print Current Date in Summary?
2002-11-05 04:09
You can simply insert a textfield element in summary with this expression: "new Date()" and classType java.util.Date
You can format date using the pattern attribute.

Ragards

Giulio


By: Tiger - hntiger
RE: How to Print Current Date in Summary?
2002-11-07 17:47
Thank you
Now I can print current Date with new Date()


By: Teodor Danciu - teodord
RE: How to Print Current Date in Summary?
2002-11-08 13:13

Hi,

...
<textFieldExpression class="java.util.Date">
new java.util.Date()
</textFieldExpression>
...

Check the "Quick Reference" to see details about
the "pattern" attribute of a text field if you want to
format this date value.

Good luck!
Teodor
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback