in JavaScript by
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);

month_date = date_obj.toDateString();

month_day = date_obj.getDay();

month_date = date_obj.getMonth();

var month_day = date_obj.getDate();

1 Answer

0 votes
var month_day = date_obj.getDate();
Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

0 votes
asked Jan 20 in C Plus Plus by SakshiSharma
0 votes
asked Jun 17, 2019 in IONIC by rajeshsharma