From Xojo Documentation
Revision as of 01:28, 30 August 2019 by Gperlman
| This item was deprecated in version 2019r2.
Please use DateTime.WeekOfYear as a replacement.
Read-Only Property (As Integer )
The number of the week of the year the date falls in.
The first week is numbered 1. The first week may be incomplete. If January 1 falls on a Saturday, then the next day is in week 2.
The following code displays the current week of the year.