in Technology by (1.8m points)

To retrieve the day of the month from the Date object, which is the code to select?
var date_obj = new Date(2016,1,1);
a) month_date = date_obj.toDateString();
b) month_day = date_obj.getDay();
c) month_date = date_obj.getMonth();
d) var month_day = date_obj.getDate();


1 Answer

0 votes
by (1.8m points)

Answer:-var month_day = date_obj.getDate()


Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)