日期和时间变量

From Apache OpenOffice Wiki
Jump to: navigation, search
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