The Due property below is calculated based on the current date so that the state examples stay the same, this would usually be a regular Date property.
Entries
State
if(empty(prop("Due")), "⚪️", if(formatDate(prop("Due"), "L") == formatDate(now(), "L"), "🟢", if(prop("Due") < now(), "🔴", "🔵")))
State (Original)
if(empty(prop("Due")), "⚪️", if(larger(date(now()), date(prop("Due"))) and largerEq(month(now()), month(prop("Due"))) and largerEq(year(now()), year(prop("Due"))), "🔴", if(equal(date(now()), date(prop("Due"))) and equal(month(now()), month(prop("Due"))) and equal(year(now()), year(prop("Due"))), "🟢", "🔵")))