Hi guys,
I need your help please. From my aplication software I get a report Parameter "DatVon" as string. (
http://rfindler:8080/birt/frameset?__report=report/new_report_3.rptdesign&DatVon=@DatVon@)
But for further purposes and that the report could run I need the "string" as "date" format. See attached file.
I tried to parse the string into date with this script:
on initialize the report:
importPackage(Packages.java.text);
sdf = new SimpleDateFormat("yyyy-MM-dd");
sdf.parse(params["DatVon"]);
Please give my your suggestion how could I handle this.
Thanks
best regards
rf
P.S.
I know if I change the report paramater from date to string, than it would works. But than some other functions like javascript calendar etc. don?t works in my report.