To retrieve the day of the month from the Date object, which is the code to select?

Questions & AnswersCategory: Programming LanguageTo retrieve the day of the month from the Date object, which is the code to select?
Adam asked 3 years ago

To retrieve the day of the month from the Date object, which is the code to select?

a. var date_obj = new Date(2016,1,1);

b. month_date = date_obj.getMonth();

c. month_day = date_obj.getDay();

d. month_date = date_obj.toDateString();

e. var month_day = date_obj.getDate();