swapna_gelle Posted October 13, 2017 Share Posted October 13, 2017 I created report in jasper studio. Issue is my report need to run example 10/1/2017 7:00:00 am to 10/2/2017 7:00:000 am means pull data today and next 24 hours data.I failed to display with this time format..How can i run the report with specifi dat and time format conditions in the report? Any help ??? Thanks. Link to comment Share on other sites More sharing options...
bsvorinic Posted October 13, 2017 Share Posted October 13, 2017 You need to be more specific.If the question is how to get data for specific period and you are using SQL to retrieve data for report you should use parameters to define WHERE condition inside SQL. My approach is to prepare and test SQL outside Jasper Studio using SQL Developer or similar tool and then use tested SQL inside report.If the problem is formating and displaying timestamp, then you can use PATTERN property of the TEXT field to format data the way you want, or use Java inside EXPRESSION property to format output (for example "new SimpleDateFormat("dd.MM.yyyy").format($F{DATUM}").Regards,Bruno Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now