diff options
-rw-r--r-- | source/auxiliary/sbasic.tree | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030301.xhp | 21 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030302.xhp | 21 |
3 files changed, 20 insertions, 26 deletions
diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree index 62ce8a0d11..879c1f844f 100644 --- a/source/auxiliary/sbasic.tree +++ b/source/auxiliary/sbasic.tree @@ -107,7 +107,7 @@ <topic id="sbasic/text/sbasic/shared/03020403.xhp">CurDir Function</topic> <topic id="sbasic/text/sbasic/shared/03100070.xhp">CVar Function</topic> <topic id="sbasic/text/sbasic/shared/03100080.xhp">CVErr Function</topic> - <topic id="sbasic/text/sbasic/shared/03030301.xhp">Date Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030301.xhp">Date Function</topic> <topic id="sbasic/text/sbasic/shared/03030110.xhp">DateAdd Function</topic> <topic id="sbasic/text/sbasic/shared/03030120.xhp">DateDiff Function</topic> <topic id="sbasic/text/sbasic/shared/03030130.xhp">DatePart Function</topic> @@ -291,7 +291,7 @@ <topic id="sbasic/text/sbasic/shared/03132200.xhp">ThisComponent object</topic> <topic id="sbasic/text/sbasic/shared/03030205.xhp">TimeSerial Function</topic> <topic id="sbasic/text/sbasic/shared/03030206.xhp">TimeValue Function</topic> - <topic id="sbasic/text/sbasic/shared/03030302.xhp">Time Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030302.xhp">Time Function</topic> <topic id="sbasic/text/sbasic/shared/03030303.xhp">Timer Function</topic> <topic id="sbasic/text/sbasic/shared/03080100.xhp">Trigonometric Functions</topic> <topic id="sbasic/text/sbasic/shared/03120311.xhp">Trim Function</topic> diff --git a/source/text/sbasic/shared/03030301.xhp b/source/text/sbasic/shared/03030301.xhp index 240e949543..e561ac7d0b 100644 --- a/source/text/sbasic/shared/03030301.xhp +++ b/source/text/sbasic/shared/03030301.xhp @@ -20,7 +20,7 @@ <meta> <topic id="textsbasicshared03030301xml" indexer="include" status="PUBLISH"> - <title id="tit" xml-lang="en-US">Date Statement</title> + <title id="tit" xml-lang="en-US">Date Function</title> <filename>/text/sbasic/shared/03030301.xhp</filename> </topic> </meta> @@ -30,27 +30,24 @@ <section id="date"> <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"> - <bookmark_value>Date statement</bookmark_value> + <bookmark_value>Date function</bookmark_value> </bookmark> -<paragraph id="hd_id3156027" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03030301.xhp" name="Date Statement">Date Statement</link></paragraph> -<paragraph id="par_id3147291" role="paragraph" xml-lang="en-US">Returns the current system date as a string, or resets the date. The date format depends on your local system settings.</paragraph> +<h1 id="hd_id3156027"><link href="text/sbasic/shared/03030301.xhp" name="Date Function">Date Function</link></h1> +<paragraph id="par_id3147291" role="paragraph">Returns the current system date as a string, or date variant.</paragraph> </section> -<paragraph id="hd_id3148686" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> -<paragraph id="par_id3146794" role="bascode" xml-lang="en-US">Date ; Date = Text As String</paragraph> +<paragraph id="par_id3146794" role="bascode" localize="false">Date[$][()]</paragraph> </bascode> -<paragraph id="hd_id3154347" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> -<paragraph id="par_id3145069" role="paragraph" xml-lang="en-US"> <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 id="hd_id3150793" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> -<paragraph id="par_idm1341306160" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDate</paragraph> +<paragraph id="par_idm1341306160" role="bascode" localize="false">Sub ExampleDate</paragraph> <paragraph id="par_id3156424" role="bascode" xml-lang="en-US"> MsgBox "The date is " & Date</paragraph> -<paragraph id="par_idm1341303136" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +<paragraph id="par_idm1341303136" role="bascode" localize="false">End Sub</paragraph> </bascode> </body> diff --git a/source/text/sbasic/shared/03030302.xhp b/source/text/sbasic/shared/03030302.xhp index eb45700fa6..3d93aa166d 100644 --- a/source/text/sbasic/shared/03030302.xhp +++ b/source/text/sbasic/shared/03030302.xhp @@ -20,7 +20,7 @@ <meta> <topic id="textsbasicshared03030302xml" indexer="include" status="PUBLISH"> - <title id="tit" xml-lang="en-US">Time Statement</title> + <title id="tit" xml-lang="en-US">Time Function</title> <filename>/text/sbasic/shared/03030302.xhp</filename> </topic> </meta> @@ -29,26 +29,23 @@ <section id="time"> <bookmark xml-lang="en-US" branch="index" id="bm_id3145090"> - <bookmark_value>Time statement</bookmark_value> + <bookmark_value>Time function</bookmark_value> </bookmark> -<paragraph id="hd_id3145090" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03030302.xhp">Time Statement</link></paragraph> -<paragraph id="par_id3150984" role="paragraph" xml-lang="en-US">This function returns the current system time as a string in the format "HH:MM:SS".</paragraph> +<h1 id="hd_id3145090"><link href="text/sbasic/shared/03030302.xhp" name="Time Function">Time Function</link></h1> +<paragraph id="par_id3150984" role="paragraph">This function returns the current system time as a string in the format "HH:MM:SS".</paragraph> </section> -<paragraph id="hd_id3154346" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> -<paragraph id="par_id3149670" role="bascode" localize="false" xml-lang="en-US">Time</paragraph> +<paragraph id="par_id3149670" role="bascode" localize="false">Time[$][()]</paragraph> </bascode> -<paragraph id="hd_id3150792" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> -<paragraph id="par_id3149656" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any string expression that specifies the new time in the format "HH:MM:SS".</paragraph> - -<paragraph id="hd_id3145173" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> -<paragraph id="par_idm1341324032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleTime</paragraph> +<paragraph id="par_idm1341324032" role="bascode" localize="false">Sub ExampleTime</paragraph> <paragraph id="par_id3150870" role="bascode" xml-lang="en-US"> MsgBox Time,0,"The time is"</paragraph> -<paragraph id="par_idm1341321024" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +<paragraph id="par_idm1341321024" role="bascode" localize="false">End Sub</paragraph> </bascode> </body> |