Return the day of the month according to the javascript () method of local time, on the specified date. The value returned by getDate is an integer between 1 and 31.
grammar
()
The following are the detailed information of the parameters:
- NA
Return value:
Return to today's date and time
example:
<html> <head> <title>JavaScript getDate Method</title> </head> <body> <script type="text/javascript"> var dt = new Date("December 25, 1995 23:15:00"); ("getDate() : " + () ); </script> </body> </html>
This will produce the following results:
getDate() : 25