getDate

Description

Creates a new Date object given a year, month and a day. The time will be set to midnight of that day. January is 0 and December is 11. The first day of the month is 1.

Syntax

getDate (year, month, day )

Code Examples
Code Snippet
getDate(2016, 11, 1) //This example will create a new date object set to December 1st, 2016.