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

where does SimpleDateFormat belong


Mary.Tyckoson

Recommended Posts

I'm trying to have a date field (lastStatusDate) coming from a sybase query come into the report recognized as a date field - both for filtering and eventual input control.  I'm converting the internal Sybase date to MM/dd/yyyy format, but it only seems to like it as java.lang.string.   It looks like I need to use SimpleDateFormat, but where do I actually put the (new SimpleDateFormat("MM/dd/yyyy").format($F{lastStatusDate})).  Using JasperStudio 6.0.3.  Or do I have this turned around.  Know my way around SQL, but java is new territory.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

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