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

Can I get a help please on specifying the date format field in jasper ?


mohammed.sardar

Recommended Posts

I get the date format as '2-SEP-14' when I execute my funciton in Oracle. But when it returned to Jasper it automatically appends TIME STAMP to it.!  I try the below in Edie Expression fields but getting an error but not the report. 

 

How should I change the format in Jasper 4.0.2

 

 new SimpleDateFormat("DD/MMM/YY").format($F{RECEIPT_DATE})   - Is it right ?

 

Many thanks

Mohammed

 

 

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 3 months later...

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