Difference between revisions of "ZH/Documentation/BASIC Guide/Date"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 17: Line 17:
  
 
{{PDL1}}
 
{{PDL1}}
{{InterWiki_Languages_BasicGuide|articletitle=Documentation/BASIC Guide/Date}}
+
 
 +
 
 
{{InterWiki_Languages_BasicGuide|articletitle=Documentation/BASIC Guide/Date}}
 
{{InterWiki_Languages_BasicGuide|articletitle=Documentation/BASIC Guide/Date}}

Latest revision as of 22:27, 16 December 2008

doc OOo
Book.png

日期变量可以包含日期和时间值。在保存日期值时,Apache OpenOffice Basic 使用一种内部格式,该格式允许对日期和时间值执行比较和数学运算。日期变量没有类型声明符号。只能使用补充的 As Date 进行声明。

日期变量的声明示例:

 Dim Variable As Date
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools