florian.johannssen_1 Posted November 12, 2018 Share Posted November 12, 2018 Hi Jasper fans,on my jasperserver, i have a report with two date (java.util.date) parameters (StartDate, EndDate). I want to execute the report by using the rest-interfaceI want to pass the date with the time-information: like StartDate=1997-01-01T04:05:06+02:00 with my rest-interface.Unfortunately, the report shows the StartDate with format: DATEFORMAT($P{StartDate},"yyyy-MM-dd HH:mm:ss") = 1997-01-01 00:00:00So, the time information is gone. Any advice to receive the time information?Kind Regards Florian Link to comment Share on other sites More sharing options...
mca.amitrami Posted November 16, 2018 Share Posted November 16, 2018 Hi Witch database you are using?I think you need to use database string to date function both side parameter and database filed this is the best option for resolving it, 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