DateTime Date extension method

This method returns the date at 12am on the date passed

Public Function Date(Extends value As DateTime) As DateTime
  // Returns Date at 12am on the value passed
  Return value.SubtractInterval(0, 0, 0, value.Hour, value.Minute, value.Second, value.Nanosecond)
  
End Function