2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: MohanProint - mohanproint System date 2005-03-02 06:37How 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now