Variables of the Date data Type store a date and time. Internally, a date is represented by a decimal number. The integer value represents a date starting from 31.12.1899. Thus, for example, day 39778 is the 39778th day since 31.12.1899, i.e. 25 November 2008. Decimal places represent the time of a given day. Thus, 39778.5 is November 25, 2008 12:00:00,00 noon. Variables of Type Date can be expected as with decimal numbers.
In addition, the variable can take the value NoValue. If the "Initialize with default value" switch is set for class variables, the value is set to 0 when novalue is used to assign them.
Variables of Type Date are defined locally in functions as hereinafter (examples):
Dim Datum As Date
Datum := Now
MsgBox(ToLong(Datum))
Dim Datum As Date := Now
Attribute Properties and Functions:
Standard-Attributes:
Standard-Events:
Special Attributes: