For example , the timestamp is given as "2003-04-05-11.30.22.0000"
How can I retrieve the minutes,day,seconds from the given timestamp.
I tried to retrieve it by using
java.sql.Timestamp actcmpStmp = "2003-04-05-11.30.22.0000";
int runday = actcmpStmp.getMinutes();
But the methods used above are DEPRECATED.
How can I retrieve seconds, minutes,day, etc from a given Timestamp without using Depracted Methods.
Can anyone help me in this regard.