toDate

toDate()

Converts the value of the current DateTime object to Date object.

Returns: Date object