dateOnly abstract method

T dateOnly(
  1. T date
)

Returns a DateTime with the date of the original, but time set to midnight.

Implementation

T dateOnly(T date);