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

Japser report input date parameter problem


umeshkk

Recommended Posts

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

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...
  • 3 years later...

RE:Soap service - passing date parameters 01/06/2010 18:11

Quoting from the JS Web Services Guide:

Dates and date/times must be represented as the number of milliseconds since January 1, 1970, 00:00:00
GMT.

So 1167609600000 should work.

HTH,

Lucian

Link to comment
Share on other sites

  • 3 weeks later...
  • 8 months later...

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