Xojo.Core.Date.DayOfWeek

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aXojo.Core.Date.DayOfWeek

Supported on Mobile (iOS).

The day of the week, with 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.

Sample Code

Ge the day of the week:

Var day As Integer = Xojo.Core.Date.Now.DayOfWeek