The getDate() method
The
getDate()
method returns the day of the month for the specified date according to local time:
var day = new Date(); alert(day.getDate())
The
getDate()
method returns the day of the month for the specified date according to local time:
var day = new Date(); alert(day.getDate())