hi, I have a java.util.Date object storing some date. Now i want to convert to java.util.Calendar object because most of the methods are deprecated in Date class and suggested to use Calendar class instead. Thanks in advance. Arun
Arun, to convert a java.util.Date to a Calendar, just get an instance of Calendar and then set the time with the method setTime(java.util.Date) Regards, Marcel