Hello Everyone,
Can anyone tell me what is new method for replacing the following:
 
java.util.Date myDate = new java.util.Date();
String myString = myDate.getHours() + myDate.getMinutes() + myDate.getSeconds();
 
I am using jdk1.2.2 . There is a warning that these methods has been deprecated. I was unable to find anything on this deprecation at sun's site.
 
Thanks,
 
*Antonio* 
 
 

Reply via email to