View Single Post
Go4Expert Member
23Jun2010,14:33  
Mariam's Avatar
Quote:
Originally Posted by shabbir View Post
Fetch all the dates and arrange them in chronological order and then get the time between first and last.
It will no work properly.

What if I have

IT Jan 1982 - Feb 1985
IT Jan 1983 - May 1986
IT Jan 2001 - Aug 2007

You say 2007-1982=25
but the correct is 10