Added is within daterange functionality