AsadHaydar Posted January 12, 2015 Share Posted January 12, 2015 Does anyone has a java class which allows you to use dynamic dates in JasperServer like this class?https://community.jaspersoft.com/wiki/dynamic-dates-reports thanks in advance! Link to comment Share on other sites More sharing options...
ernestoo Posted January 12, 2015 Share Posted January 12, 2015 Good news! it's built in and works with schedules, ad-hoc, reports, you can see "Relative Dates" here https://community.jaspersoft.com/documentation/jasperreports-server-user-guide/using-filters Link to comment Share on other sites More sharing options...
AsadHaydar Posted January 13, 2015 Author Share Posted January 13, 2015 hi ernestoo.. it doesn't work! I'm getting an error msg: http://postimg.org/image/g6yol82pf/ Link to comment Share on other sites More sharing options...
AsadHaydar Posted January 13, 2015 Author Share Posted January 13, 2015 and if i change the type of the field in the jrxml file to java.util.date i get this: http://postimg.org/image/f9j47ymab/ Link to comment Share on other sites More sharing options...
ernestoo Posted January 13, 2015 Share Posted January 13, 2015 Ah ok, you have to change the type per this article http://community.jaspersoft.com/wiki/how-use-relative-dates-jrxml-static-reports 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