Xojo.Core.Date.Month

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

Supported on Mobile (iOS).

The month number of the date. January is month 1, December is month 12.

Sample Code

Get the current month:

Var d As Xojo.Core.Date = Xojo.Core.Date.Now
Var month As Integer = d.Month