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

verify expression from iReport in Studio


szadroga

Recommended Posts

I have the following expression that is valid in iReport but when copied into Studio I am getting an error message that the expression is not valid.  Studio does not like the Period "." before format in the second half of the expression.  any thoughts?  both ireport and studio are using java as the language

 

(new SimpleDateFormat("'This report was generated on' EEEE, MMMM d, yyyy 'at' h:mm:ss a.")).format(Calendar.getInstance().getTime())

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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