Finding the number of days between two dates
807601Jun 28 2008 — edited Feb 10 2009Hello all,
I am a Grade 10 student and I have a dilemma with one of my assignments so I thought I would ask it on this forums. My problem is that I am supposed to ask the user to enter any date in this format as a string dd/mm/yyyy and then find the number of days between that day and the present day. In school we have only done the beginning stuff like loops,arrays,String functions (only a few) and Math functions(few) and I have no idea how to do this. can someone please help me out?
PS - Please do not think I am lazy, I have searched all over the net...they show some java.util thing about which I have no clue and we have not done it either, so please help me out .Also my teacher has gone away on holiday and anyway she had refused to help earlier too, so {color:#ff0000}*please help*{color}....