Difference between revisions of "ZH/Documentation/BASIC Guide/Date"
From Apache OpenOffice Wiki
(New page: {{DISPLAYTITLE:日期和时间变量}} {{ZH/Documentation/BASICGuideTOC/v2 |ShowPrevNext=block |ShowPrevPage=block |PrevPage=Documentation/BASIC Guide/Boolean |NextPage=Documentation/BASIC...) |
(No difference)
|
Revision as of 02:19, 13 November 2008
日期变量可以包含日期和时间值。在保存日期值时,Apache OpenOffice Basic 使用一种内部格式,该格式允许对日期和时间值执行比较和数学运算。日期变量没有类型声明符号。只能使用补充的 As Date 进行声明。
日期变量的声明示例:
Dim Variable As Date
Content on this page is licensed under the Public Documentation License (PDL). |