The Library does not parse String to DateTime
Posted: Fri Sep 28, 2018 8:56 am
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
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