Show/Hide Toolbars

XSharp

This structure holds year, month, day in 32 bits. For date calculations it uses the System.DateTime calculation logic. There are implicit converters between Date and DateTime.
The internal type name for this type is XSharp.__Date

 

The DATE type is an integral type that stores a date value.
The DATE is internally stored in 3 fields (DAY, MONTH and YEAR) that occupy a total of 32 bits in memory.

Implementation

The DATE type is implemented in the structure  XSharp.__Date

The Usual type of DATE  is 2.