Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Nov 2004
    Location
    London, United Kingdom
    Posts
    152
    Thanks
    0
    Thanked 0 Times in 0 Posts

    date difference (2000)

    I'm trying to calculate how many years and months service an employee has with the company, given their start date. This data is being displayed on a text box on a form.
    The formula I have is
    =DateDiff("yyyy",[start date],Date()) & " yr " & (DateDiff("m",[start date],Date())) Mod 12 & " mnths"
    However the year bit of that is incorrect as it shows a year for people who started in 2004 even if a full year has not yet passed.

    Any suggestions much appreciated

    Amanda

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: date difference (2000)

    See <post#=237,840>post 237,840</post: >.

  3. #3
    2 Star Lounger
    Join Date
    Nov 2004
    Location
    London, United Kingdom
    Posts
    152
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: date difference (2000)

    Thanks Hans

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •