From 7369aa5d72c8b86f8ee483e9eaf55d72deec1ea4 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 13 Jun 2012 20:23:57 +0200 Subject: DATE -> DATEDIF Change-Id: Ia11b79db360698f0d5122d0640716985fc7df037 --- helpcontent2/source/text/scalc/01/func_datedif.xhp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helpcontent2/source/text/scalc/01/func_datedif.xhp b/helpcontent2/source/text/scalc/01/func_datedif.xhp index dcf5549908..5ba17fa3c9 100644 --- a/helpcontent2/source/text/scalc/01/func_datedif.xhp +++ b/helpcontent2/source/text/scalc/01/func_datedif.xhp @@ -93,12 +93,12 @@ Birthday calculation. A man was born on 1974-04-17. Today is 2012-06-13. -=DATE("1974-04-17";"2012-06-13";"y") yields 38. =DATE("1974-04-17";"2012-06-13";"ym") yields 1. =DATE("1974-04-17";"2012-06-13";"md") yields 27. So he is 38 years, 1 month and 27 days old. +=DATEDIF("1974-04-17";"2012-06-13";"y") yields 38. =DATEDIF("1974-04-17";"2012-06-13";"ym") yields 1. =DATEDIF("1974-04-17";"2012-06-13";"md") yields 27. So he is 38 years, 1 month and 27 days old. -=DATE("1974-04-17";"2012-06-13";"m") yields 457, he has been living for 457 months. +=DATEDIF("1974-04-17";"2012-06-13";"m") yields 457, he has been living for 457 months. -=DATE("1974-04-17";"2012-06-13";"d") yields 13937, he has been living for 13937 days. +=DATEDIF("1974-04-17";"2012-06-13";"d") yields 13937, he has been living for 13937 days. -=DATE("1974-04-17";"2012-06-13";"yd") yields 57, his birthday was 57 days ago. +=DATEDIF("1974-04-17";"2012-06-13";"yd") yields 57, his birthday was 57 days ago. -- cgit v1.2.3