contents   index   previous   next



Date getDate()

syntax:

date.getDate()

return:

number - a day of a month.

 

description:

This method returns the day of the month, as a number from 1 to 31, of a Date object. The first day of a month is 1, and the last is 28, 29, 30, or 31.

 

 


Date getDay()