Date and Time Variables

From Apache OpenOffice Wiki
< Documentation‎ | BASIC Guide
Revision as of 11:03, 30 January 2021 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Date variables can contain date and time values. When saving date values, Apache OpenOffice Basic uses an internal format that permits comparisons and mathematical operations on date and time values. There is no type declaration symbol for date variables. The declaration can only be made using the supplement As Date.

Example declaration of a date variable:

 Dim Variable As Date


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