Jasperserver 4.7 - PHP SOAP

I can login through SOAP and access my reports. But when I want to run a report with input control, there is something very strange:

Attention: some input controls may require a number. The date/time format used with the webservices is a Long (current time: 1352463049).

I can't insert a date???

How can I fix that?

samhast's picture
653
Joined: Nov 4 2011 - 6:41am
Last seen: 6 years 10 months ago

1 Answer:

What it is telling you is:  If you want to pass a date for the input controls, you need to convert it to a Unix date/timestamp, which is a Long.  The number represents the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). UNIX time 1352463049 is 11/09/2012 12:10pm GMT

I hope this helps...

mgeise's picture
45807
Joined: Mar 5 2007 - 6:18am
Last seen: 3 years 9 months ago
Yes I understand that, but I don't know why it is like that? It's not user friendly...
samhast - 10 years 10 months ago
Feedback
randomness