viewireport Posted August 4, 2010 Share Posted August 4, 2010 DB - postgres SELECT tt.created_date FROMtest_table ttWHERE DATE(uc.created_stamp) = DATE($P{ic_date}) Here, ic_date is a parameter created using ireport. parameter (ic_date) class is java.util.Date If default value expression is required, enter like this,new SimpleDateFormat("yyyy-MM-dd").parse("2008-01-01") Hope this will help many since it took some time for me to figure out the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now