lpeel Posted October 13, 2010 Share Posted October 13, 2010 Hi,I'd like to set the time portion of a passed in parameter to midnight. java equivalent is: cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 0); cal.set(Calendar.SECOND, 0);I've searched the web for several hours now and it looks like I have only 2 options:1. Remove the time portion of the parameter in the SQL statement 2. create a tiny jar file with just a few Java statements in it.Does anyone have another way to set a default values for calendar object?Thanks! 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