system.date.getDate(year, month, day)
Int year - The year for the new date.
Int month - The month of the new date. January is month 0.
Int day - The day of the month for the new date. The first day of the month is day 1.
Date - A new date, set to midnight of that day.