IsToday
methodsDetermines whether the passed date is today's date, ignoring the time part.
Parameters:targetDateDate
Returns:Boolean
The date to be checked.
Returns true if the passed date is today's date, ignoring the time part.