Hi
I used Date class inside the servlet but it says
"The type named date is ambiguous"
I am using Visual Age for Java 3.5 and I think it is not using JDK 1.2
Is it a problem of depreciation or am I missing something?
Thanks
TIA
Rizwan
> Date date = new Date();
> Calendar cal = Calendar.getInstance();
> cal.setTime(date);
>
> int year = cal.get(Calendar.YEAR);
> int month = cal.get(Calendar.MONTH);
> int day = cal.get(Calendar.DAY_OF_MONTH);
>
