Objective:To create a new variable in the date_interval data frame and apply the result to a new dateset.
Below is the logic:
If datev variable in the df dframe