Jump to content
We've recently updated our Privacy Statement, available here ×

Recommended Posts

By: MohanProint - mohanproint

System date

2005-03-02 06:37

How to get the system date and time for the jasper report.

I need to show the date and time for each page in the jasper report. how do that one?.

 

 

By: tommy - tommy2381

RE: System date

2005-03-02 06:40

<pageFooter>

<band height="12">

<textField>

<reportElement positionType="Float" x="0" y="0" width="80" height="12"/>

<textElement>

<font size="8"/>

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[new java.text.SimpleDateFormat("dd.MM.yyyy").format(new java.util.Date())]]></textFieldExpression>

</textField>

</band>

</pageFooter>

one way...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...