Update status based on if item date is before or after different item date

Hi,

I am trying to create an automation that will allow me to update an items status based on if it occurs before or after a different item on the same board. Is this possible?