ReferenceDateTimeDateTime():date()On this pageDateTime():date() Returns the day of the month of the DateTime object. Signature date(): number Returns Type: number The day of the month (1-31). Examples local date = DateTime(2024, 1, 15, 10, 30, 0)local dayOfMonth = date:date()toast("Day of the month: " .. dayOfMonth)