Date.Year
From Xojo Documentation
This item was deprecated in version 2019r2. Please use DateTime.Year as a replacement. |
Read-Only Property (As Integer )
The year portion of the date.
Sample Code
The following code displays the current year.