add beginning_of_day and end_of_day