=TAG(HEUTE())
i mean the result has to be the Number of the day today. If i calculate with them it is ok. bay the View at openoffice cals is one day minus. What is the reason?
Regards
Bjoern
Code: Select all
=DAY(TODAY())Could it be that Calc sees 31-12-1899 as day 1 and you are probably counting on 01-01-1900 to be day 1 ??Bjoern wrote:.......bay the View at openoffice cals is one day minus. What is the reason?
I tried changing that, but it made no difference to the result returned.DiGro wrote:Could it be that Calc sees 31-12-1899 as day 1 and you are probably counting on 01-01-1900 to be day 1 ??
See: Tools > Options OpenOffice Calc > Calculate foor your setting.
thanks for this information,huw wrote:That isin English I think. Can you give us an example of the calculations that are ruturning values one day out? Remember, you can add days to a date, but not add two dates together and get another date. The latter is nonsensical.Code: Select all
=DAY(TODAY())
Code: Select all
=DAY(TODAY()) => 24Code: Select all
=TAG(HEUTE()) => 24acknak wrote:Are you sure it's not this bug: Date decrements by one day in Calc.?
I don't think so because that issue is about some formatting problem and this thread was initiated with a appearently wrong formula result. =DAY(TODAY()) which should always return the day number of today's date as an integer number.acknak wrote:I believe[*] this is your issue: Issue 76623: Wrong formatting and displaying for some dates.
...