umeshkk Posted March 6, 2009 Share Posted March 6, 2009 Hi, I have created the jasper report with date input parameter and set the input control with Date/Time datatype.The report is executing correctly from japser server...But while executing the report from the php application its giving error..I have integrated the jasper report with php with the SOAP. I used the sample script given on the jasper server to run the report. The other input paramter with text field is working correctly..But with date parameter its not working. The php sample script are given on the jasperserver.The error is---Error executing the report:For input string: "07-18-2008 00:00". In which format date parameter should be? Link to comment Share on other sites More sharing options...
umeshkk Posted March 7, 2009 Author Share Posted March 7, 2009 Problem get solved Convert the date into milisecs while passing the date parameter to the jasper report.webservices takes the date in milisecs. Link to comment Share on other sites More sharing options...
jeysman Posted March 23, 2009 Share Posted March 23, 2009 How did you convert your date into milliseconds? I've tried using both strtotime and date('U',...) with no luck. Link to comment Share on other sites More sharing options...
farogal Posted July 19, 2012 Share Posted July 19, 2012 RE:Soap service - passing date parameters 01/06/2010 18:11Quoting from the JS Web Services Guide:Dates and date/times must be represented as the number of milliseconds since January 1, 1970, 00:00:00GMT.So 1167609600000 should work.HTH,Lucian Link to comment Share on other sites More sharing options...
prakash4php Posted August 8, 2012 Share Posted August 8, 2012 Hello Umesh,I am not able to access radio button in php sample application. could you pls let me know if you have any idea? ThanksWith RegardsPrakash Admane Link to comment Share on other sites More sharing options...
shraddha.s.mirashi Posted April 24, 2013 Share Posted April 24, 2013 How can we give default value date parameter in jasper report 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