The java.util.Date constructor will take a String. It will also take a year, month, day. (hour, min, and sec as well) Date(String date) Date(int year, int month, int day)
This method has been deprecated. To create a Date object from a String object you have to use SimpleDateFormat parse method. SimpleDateFormat sdfinDate = new SimpleDateFormat("MM/dd/yyyy"); java.util.Date actualDate = null;
Hoooooo Doggey - where ya headed pardner? We don't seem to have the page yer lookin' fer. Mebbe we're callin' it somethin else now. We suggest you mosey on over to the JavaRanch home page
Jim, I think it has to do with Paul's obsession with punctuation. Just remove the last period after "...common.html" and U are right there. www.javaranch.com/common.html Ajay