Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: display report generation time along with date

  1. #1

    Post display report generation time along with date

    hi everybody,

    i need a help, actually i am using JFreereport version 0.8.3 and in that i am using xml file for report definition. i am displaying date at page header using function defined in XML file. actually i want to display time also along with date at which exactly report has been generated.

    thanks in advance

  2. #2
    Join Date
    Mar 2003


    Change the format-pattern of your date-field to include the time. The "" report-property is a java.util.Date object, so it already carries the exact time.

    Use something like this as your pattern: "yyyy-MM-dd hh:mm:ss" and you should see your time next to the date.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.