Birthday Planning

Age
Copy  •  js
dateBetween(now(), prop("Birthday"), "years")
Next Birthday
Copy  •  js
if(formatDate(dateAdd(prop("Birthday"), prop("Age"), "years"), "L") == formatDate(now(), "L"), dateAdd(prop("Birthday"), prop("Age"), "years"), dateAdd(prop("Birthday"), prop("Age") + 1, "years"))
Birthday Today/Tomorrow
Copy  •  js
if(formatDate(prop("Next Birthday"), "L") == formatDate(now(), "L"), "🎂 Today", if(formatDate(prop("Next Birthday"), "L") == formatDate(dateAdd(now(), 1, "days"), "L"), "🎁 Tomorrow", ""))
Budget
Copy  •  js
if(empty(prop("Gift Budget")), "⚠️ No Budget Set", if(prop("Gift Budget") - prop("Gift Total") == 0, "👍 Perfect!", if(prop("Gift Budget") - prop("Gift Total") < 0, "🚫 Over by $" + format(abs(prop("Gift Budget") - prop("Gift Total"))) + "!", "💰 $" + format(abs(prop("Gift Budget") - prop("Gift Total"))) + " left!")))
Previous & Next