How to properly compare dates for unfulfilled orders older than 3 days?

maybe try something like

{% assign today_date = 'now' | date: "%Y-%m-%d"%}

then

created_at:<='{{ today_date }}'...