workingon date function for lenthofService