Days Remaining And Days Overdue
(With Done Checkbox) Days Remaining And Days Overdue
if(formatDate(prop("Deadline"), "MMM DD, YYYY") == formatDate(now(), "MMM DD, YYYY"), "Due Today ✅", if(dateBetween(prop("Deadline"), now(), "days") > 0, format(dateBetween(prop("Deadline"), now(), "days") + 1) + " Days Remaining", if(dateBetween(prop("Deadline"), now(), "days") > -1, "Due Tomorrow 🔜", if(dateBetween(prop("Deadline"), now(), "days") < 0, format(abs(dateBetween(prop("Deadline"), now(), "days"))) + " Days Past Due ⭕️", ""))))
if(prop("Done") == false, if(formatDate(prop("Deadline"), "MMM DD, YYYY") == formatDate(now(), "MMM DD, YYYY"), "Due Today ✅", if(dateBetween(prop("Deadline"), now(), "days") > 0, format(dateBetween(prop("Deadline"), now(), "days") + 1) + " Days Remaining", if(dateBetween(prop("Deadline"), now(), "days") > -1, "Due Tomorrow 🔜", if(dateBetween(prop("Deadline"), now(), "days") < 0, format(abs(dateBetween(prop("Deadline"), now(), "days"))) + " Days Past Due ⭕️", "")))), "Complete")