summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/01/func_weeknumadd.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/scalc/01/func_weeknumadd.xhp')
-rw-r--r--source/text/scalc/01/func_weeknumadd.xhp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/scalc/01/func_weeknumadd.xhp b/source/text/scalc/01/func_weeknumadd.xhp
index 70b34e1bc0..53f2347739 100644
--- a/source/text/scalc/01/func_weeknumadd.xhp
+++ b/source/text/scalc/01/func_weeknumadd.xhp
@@ -35,13 +35,13 @@
</variable></paragraph>
<paragraph role="paragraph" id="par_id3152945" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_WEEKNUM">The result indicates the number of the calendar week for a date.</ahelp></paragraph>
<paragraph role="tip" id="par_idN105DD" xml-lang="en-US">The WEEKNUM_EXCEL2003 function is designed to calculate week numbers exactly as Microsoft Excel 2003 did. Use the <link href="text/scalc/01/func_weeknum.xhp">WEEKNUM</link> function for ODF OpenFormula and Excel 2010 compatibility, or <link href="text/scalc/01/func_isoweeknum.xhp">ISOWEEKNUM</link> function when you just need ISO 8601 week numbers. In releases prior to $[officename] 5.1 WEEKNUM_EXCEL2003 was named WEEKNUM_ADD.</paragraph>
-<paragraph role="heading" id="hd_id3153745" xml-lang="en-US" level="3">Syntax</paragraph>
+<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph role="code" id="par_id3153685" xml-lang="en-US">WEEKNUM_EXCEL2003(Date; ReturnType)</paragraph>
<paragraph role="paragraph" id="par_id3159277" xml-lang="en-US">
<emph>Date</emph> is the date within the calendar week.</paragraph>
<paragraph role="paragraph" id="par_id3154098" xml-lang="en-US">
<emph>ReturnType</emph> is 1 for week beginning on a Sunday, 2 for week beginning on a Monday.</paragraph>
-<paragraph role="heading" id="hd_id3152886" xml-lang="en-US" level="3">Example</paragraph>
+<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph role="paragraph" id="par_id3149973" xml-lang="en-US">In which week number does 2001-12-24 fall?</paragraph>
<paragraph role="paragraph" id="par_id3149914" xml-lang="en-US">
<item type="input">=WEEKNUM_EXCEL2003(DATE(2001;12;24);1)</item> returns 52.</paragraph>