JavaScript getDate()
The JavaScript date getDate() method is used to get the integer value between 1 and 31 that represents the day for the particular date on the basis of local time. Syntax: dateObj.getDate() Return: An integer value between 1 and 31. Example: <!DOCTYPE html> <html> <body> <script> var bdate = new Date(“Mrach 16, 2018 21:00:10”); document.writeln(bdate.getDate()) … Read more