Gets or sets the day of the month. Note: is for the date of the month, and Moment#day is for the day of the week. Bad: 2.16.0 deprecated using . Use moment().date() instead.