setMonth
Set the month to the given date.
setMonth(new DateTime(2018,7,31), 2) will be date of 2018-2-28
the date to be changed
the month of the new date [1 to 12]
the new date with the month set
Generated using TypeDoc
setMonth
Set the month to the given date.
setMonth(new DateTime(2018,7,31), 2) will be date of 2018-2-28