posted 16 years ago
I want to get month and year from the timestamp.
Ex: Timestamp timestamp = new Timestamp(new Date().getTime());
I am using timestamp.getMonth() and timestamp.getYear() to get month and date but both the methods are deprecated.
What methods should i use instead of these deprecated methods?
Thanks,
Srikanth.