| Method |
Description |
|
after( )
|
Returns whether a given date/time falls after a specified date/time. |
|
before( )
|
Returns whether a given date/time falls before a specified date/time. |
|
ctime( )
|
Returns a string presentation of the specified date object. |
|
Date( )
|
Returns a date object set to the current or specified date/time. |
|
equals( )
|
Returns whether the specified date objects refer to the same date/time. |
|
getDay( )
|
Returns the day of the month represented in the specified date object. |
|
getHours( )
|
Returns the hour represented in the specified date object. |
|
getMinutes( )
|
Returns the minutes represented in the specified date object. |
|
getMonth( )
|
Returns the month represented in the specified date object. |
|
getSeconds( )
|
Returns the seconds represented in the specified date object. |
|
getTime( )
|
Returns the number of milliseconds represented in the specified date object. |
|
getTimezone( )
|
Returns the timezone offset in minutes for the current locale. |
|
getWeekday( )
|
Returns the day of the week represented in the specified date object. |
|
getYear( )
|
Returns the year specified in the specified date object. |
|
now( )
|
Returns a new date object set to the present date/time. |
|
setDay( )
|
Sets the day of the month in the specified date object. |
|
setHours( )
|
Sets the hour in the specified date object. |
|
setMinutes( )
|
Sets the minutes in the specified date object. |
|
setMonth( )
|
Sets the month in the specified date object. |
|
setSeconds( )
|
Sets the seconds in the specified date object. |
|
setTime( )
|
Sets the time in the specified date object. |
|
setYear( )
|
Sets the year in the specified date object. |
|
toGMTString( )
|
Returns a string representation of the specified date object. |
|
toLocaleString( )
|
Returns a string represented of the specified date object. |
|
toString( )
|
Returns a canonical string presentation of the specified date object. |