erik.dittert Posted March 31, 2015 Share Posted March 31, 2015 hi,i searching and searching but i dont find any solution. i have a date paramter that passes to the query in format 'Mon Mar 30 00:00:00 CEST 2015', where can i change it to something like: '2015-03-31 00:00:00'i hope you know where i can change it? Thx! Erik Link to comment Share on other sites More sharing options...
Solution daad.madhusudan Posted March 31, 2015 Solution Share Posted March 31, 2015 in parameter expression clause add following line:new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format($P{Date})I think this will work 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