summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03030111.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03030111.xhp')
-rw-r--r--source/text/sbasic/shared/03030111.xhp82
1 files changed, 44 insertions, 38 deletions
diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp
index 2a3322861c..c3a41d2e03 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -17,41 +16,48 @@
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
- -->
+-->
-<helpdocument version="1.0">
- <meta>
- <topic id="textsbasicshared03030111xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">CDateToUnoDate Function [Runtime]</title>
- <filename>/text/sbasic/shared/03030111.xhp</filename>
- </topic>
- <history>
- <created date="2013-09-10T15:34:00">Lionel Elie Mamane</created>
- </history>
- </meta>
- <body>
- <section id="cdatetounodate">
- <bookmark xml-lang="en-US" branch="index" id="bm_id3150620"><bookmark_value>CDateToUnoDate function</bookmark_value></bookmark>
- <paragraph role="heading" id="hd_id3150620" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030111.xhp" name="CDateToUnoDate Function [Runtime]">CDateToUnoDate Function [Runtime]</link></paragraph>
- <paragraph role="paragraph" id="par_id3151097" xml-lang="en-US" l10n="U" oldref="2">Returns the date as a UNO com.sun.star.util.Date struct.</paragraph>
- </section>
- <paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
- <bascode>
- <paragraph role="bascode" id="par_id3149497" xml-lang="en-US" oldref="4">CDateToUnoDate(aDate)</paragraph>
- </bascode>
- <paragraph role="heading" id="hd_id3152347" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
- <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">com.sun.star.util.Date</paragraph>
- <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
- <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
- <emph>aDate:</emph> Date to convert</paragraph>
- <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
- <embed href="text/sbasic/shared/00000003.xhp#err5"/>
- <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
- <bascode>
- <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDate</paragraph>
- <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph>
- <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U"> aDateControl.Date = CDateToUnoDate(Now)</paragraph>
- <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
- </bascode>
+<meta>
+ <topic id="textsbasicshared03030111xml" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">CDateToUnoDate Function [Runtime]</title>
+ <filename>/text/sbasic/shared/03030111.xhp</filename>
+ </topic>
+</meta>
+
+<body>
+
+
+<section id="cdatetounodate">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150620">
+ <bookmark_value>CDateToUnoDate function</bookmark_value>
+</bookmark>
+
+
+<paragraph id="hd_id3150620" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03030111.xhp" name="CDateToUnoDate Function [Runtime]">CDateToUnoDate Function [Runtime]</link></paragraph>
+<paragraph id="par_id3151097" role="paragraph" xml-lang="en-US">Returns the date as a UNO com.sun.star.util.Date struct.</paragraph>
+</section>
+
+<paragraph id="hd_id3159224" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<bascode>
+<paragraph id="par_id3149497" role="bascode" xml-lang="en-US">CDateToUnoDate(aDate)</paragraph>
+</bascode>
+
+<paragraph id="hd_id3152347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
+<paragraph id="par_id3154422" role="paragraph" xml-lang="en-US">com.sun.star.util.Date</paragraph>
+
+<paragraph id="hd_id3147303" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<paragraph id="par_id3145136" role="paragraph" xml-lang="en-US"> <emph>aDate:</emph> Date to convert</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+
+<paragraph id="hd_id3147243" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<bascode>
+<paragraph id="par_idm1341576768" role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDate</paragraph>
+<paragraph id="par_id3153126" role="bascode" localize="false" xml-lang="en-US"> aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph>
+<paragraph id="par_id3153127" role="bascode" localize="false" xml-lang="en-US"> aDateControl.Date = CDateToUnoDate(Now)</paragraph>
+<paragraph id="par_idm1341571968" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
</body>
-</helpdocument>
+
+</helpdocument> \ No newline at end of file