Ireport default Value expression question
Posted on 2013-06-27
I'm new to Ireport and have been struggling to find a way to get a TODATE parameter with a class of java.sql.timestamp to default to 23:59:59. The problem is that a Date value always defults to midnight, so if the user chooses a TODATE of today, none of the data from today would be displayed.
I know this can be corrected in the default value expression- but I can't locate the correct code to designate 23:59:59. Can any one help? Thanks!