Date calculation

Hello, I am working in Open Office Calc and I need to calculate the time between a date, today and December 31 of the current year
ex entered date, calculation as of today calculation as of 31/12
thank you for your help
Configuration: Windows XP Internet Explorer 6.0

8 answers

  • Votes
  • Date
  • Descending date
  1. Hello,
    Just passing by, current year date in "A1", today's date in column B1
    and the result in "C1" =$A$1-B1 (extend the formula down the column if necessary)
    Example: A1=31.12.08, B1=13.07.08 .... result C1 = 171 (number of days)
    --

    Best regards.
    Jean-Pierre
    1. Thank you for the reply, but it's not what I need
      example of what I'm looking for
      entry date 01/14/2005 to today's date = 3 years 6 months 1 day as of 12/31/08 = x ?

      thank you anyway
      best regards
    2. Contributor
      @beben 31I'm watching ...

      --
      Retirement is great! Especially in the Caribbean ... :-)
      Raymond
    3. @beben 31Hello beben 31,
      By asking the question correctly, it's better....!
      Here's a solution:
      A1 = 11/12/2007 and B1 = 12/01/2008
      C1: =DATEDIF(A1;B1;"Y") " years, " & DATEDIF(A1;B1;"ym") " months and " & DATEDIF(A1;B1;"md") " days"
      Note: the more recent date in the second position.

      --

      Regards.
      Jean-Pierre
    4. @Le PingouHELLO and thank you for your tips but I tried and I’m sorry it does not work
      thank you again