summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03030301.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03030301.xhp')
-rw-r--r--source/text/sbasic/shared/03030301.xhp12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03030301.xhp b/source/text/sbasic/shared/03030301.xhp
index e2ce260e26..c2be688189 100644
--- a/source/text/sbasic/shared/03030301.xhp
+++ b/source/text/sbasic/shared/03030301.xhp
@@ -47,13 +47,17 @@
<paragraph role="paragraph" id="par_id3147291" xml-lang="en-US" l10n="U" oldref="2">Returns the current system date as a string, or resets the date. The date format depends on your local system settings.</paragraph>
</section>
<paragraph role="heading" id="hd_id3148686" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
-<paragraph role="paragraph" id="par_id3146794" xml-lang="en-US" l10n="U" oldref="4">Date ; Date = Text As String</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3146794" xml-lang="en-US" oldref="4">Date ; Date = Text As String</paragraph>
+</bascode>
<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="6">
<emph>Text:</emph> Only required in order to reset the system date. In this case, the string expression must correspond to the date format defined in your local settings.</paragraph>
<paragraph role="heading" id="hd_id3150793" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3151212" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleDate</paragraph>
-<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="9">msgbox "The date is " &amp; Date</paragraph>
-<paragraph role="paragraph" id="par_id3145174" xml-lang="en-US" l10n="U" oldref="10">end sub</paragraph>
+<bascode>
+<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleDate</paragraph>
+<paragraph role="bascode" id="par_id3156424" xml-lang="en-US" l10n="U" oldref="9"> MsgBox "The date is " &amp; Date</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
</body>
</helpdocument>