Fix text in 2nd example given in help description of Calc's EOMONTH function.

The statement that the date MUST be in ISO format is not quite correct.

Also add link to updated wiki page.

Change-Id: I20158373f8a67ae90cd1bfccb9fbe1d7c011077f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115838
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
This commit is contained in:
Steve Fanning
2021-05-20 21:43:42 +02:00
committed by Olivier Hallot
parent 44bd3d8205
commit ab50f2ccc5

View File

@ -40,8 +40,9 @@
<paragraph role="paragraph" id="par_id3154829" xml-lang="en-US">What is the last day of the month that falls 6 months after September 14 2001?</paragraph>
<paragraph role="paragraph" id="par_id3156143" xml-lang="en-US"><item type="input">=EOMONTH(DATE(2001;9;14);6)</item> returns the serial number 37346. Formatted as a date, this is 2002-03-31.</paragraph>
<paragraph role="paragraph" id="par_id3156144" xml-lang="en-US"><item type="input">=EOMONTH("2001-09-14";6)</item> works as well. If the date is given as string, it has to be in ISO format.</paragraph>
<paragraph role="paragraph" id="par_id3156144" xml-lang="en-US"><item type="input">=EOMONTH("2001-09-14";6)</item> works as well. If you specify the date directly, we recommend using the standard ISO 8601 format because this should be independent of your selected locale settings.</paragraph>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id681621540307527"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/EOMONTH">EOMONTH wiki page</link></paragraph>
<embed href="text/scalc/01/04060102.xhp#datetimefunctions"/>
</section>
</body>