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.Day

Supported on Mobile (iOS).

The day of the month as a number. The first day is 1. The last day varies by the month.

Sample Code

Get the day:

Var d As Date = Xojo.Core.Date.Now
Var day As Integer = d.Day