added beginning/end of day to include dates before/after time