getToday()function

getToday(): Date
Return
Date
A new Date instance at midnight today.

Get a date representing midnight of the current day.