The Library does not parse String to DateTime

Stimulsoft Reports.JAVA discussion
Post Reply
linh229
Posts: 1
Joined: Fri Sep 28, 2018 8:20 am

The Library does not parse String to DateTime

Post by linh229 »

We develop the app using Java to export pdf report.

On the designer, I use function DateDiff(DateTime1, DateTime2).
I have 2 date fields: date1, date2. I also change their data type to datetime. So it work correctly.

However, when I use this mrt file import to java code, when the library load json data, it does not parse String to Date, so I got the error: Parser error: The 'DateDiff' function has invalid argument '1': cannot convert from 'class java.lang.String' to 'DateTime'

Please guide me how to resolve this problem.

Thanks & Best regards
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: The Library does not parse String to DateTime

Post by Vadim »

Hello.
We made fixes, will available in next build
Post Reply