Calculating the number of sec's elapsed between two time intervals?

How can i calculate the number of seconds elapsed between two times intervals...
for example i define a date for example from 1/1/2005 and i ask the user to put the year month day (yyyy mm dd) and the hour min sec (hh mm ss) and then i want to calculate the number of seconds elapsed betwen the given date from the user and the 1/1/2005!!

Last edited on
Topic archived. No new replies allowed.