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

Formatting date with additional String text


white_falcon02

Recommended Posts

Hi all,

In Jaspersoft Studio 7, I am looking to add a report created line on the Last Page Footer band. I am using the following line in a text field: "Report created " + new java.util.Date().

I am looking to format it so that the output looks like "Report created 02/27/2019 2:30:00 PM EST" however the format I am getting with the above is  "Report created WED Feb 14:30:00 EST 2019". Can someone assit me in correcting my pattern or expression so that I display the desired date and time? 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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...