hi all ,
i'm here stuck with a problem... i have a student class ... i'm supposed to send the date of birth of each student from main .. & calculate the difference in age ..
i have taken date of birth as
String DoB; ( so it'll be like 31.10.1979 )
if i have to calculate the difference i need to have the int value for each field i.e day.month & year.. i separated them using substring in String class .. but i dont know how to get the value of it ..
can anybody help me with this ..
thankx in advance
Akshatha
Only those who will risk going too far, Can possibly find out how far one can go! <br />happiness is journey and not destination<br /> <br />A Nayak<br />----------------------------------<br />SCJP 1.4<br />SCWCD 1.3<br />SCBCD 1.3