Date calculation

beben 31 -  
Le Pingou Posted messages 12375 Registration date   Status Contributeur Last intervention   -
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 réponses

Le Pingou Posted messages 12375 Registration date   Status Contributeur Last intervention   1 476
 
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
beben 31
 
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
0
Raymond PENTIER Posted messages 58550 Registration date   Status Contributeur Last intervention   17 475 > beben 31
 
I'm watching ...

--
Retirement is great! Especially in the Caribbean ... :-)
Raymond
0
Le Pingou Posted messages 12375 Registration date   Status Contributeur Last intervention   1 476 > beben 31
 
Hello 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
0
BEBEN31 > Le Pingou Posted messages 12375 Registration date   Status Contributeur Last intervention  
 
HELLO and thank you for your tips but I tried and I’m sorry it does not work
thank you again
0