You are not logged in.
Pages: 1
Hi,
I have configurated a report using httpauthexport servlet, if i try pass date parameter execution fail showing error on parse date.
Could not parse date: 1-04-2014
http://server.com/reportserver/reportse … =1-04-2014
or
http://server.com/reportserver/reportse … 01-04-2014
or
http://server.com/reportserver/reportse … 01/04/2014
What is the correct way to pass date parameter.
Thanks.
Offline
Hi Alex,
the value is parsed as
SimpleDateFormat.getDateInstance().parse(value)
which takes the server Locale. You could use the following script to see how it formats dates.
import java.text.SimpleDateFormat;
SimpleDateFormat.getDateInstance().format(new Date())
Cheers
-Arno
Offline
Thanks Arno,
My problem is solved with your suggestion, it's posible configure date format used for ReportServer?
Would be great to add a panel with the current settings that affect system execution (JVm stats, locale, etc)
Greetings from Mexico
-Al3tz
Offline
Pages: 1