I have a Date . I want to copy its time only, excluding the date. I then need to insert the time into another date.
Is there a easy way to do this?. I cant change the Date datatype. I can do, getHour(),getMinutes() etc however this is long winded. is there a clearner version that i could use ? or perhaps other library's like apache commons to set/get date time (have not spotten anything so far).