Expiry Dates

Expiry Dates

From
Reddit
Status
Updating
Share

Two Date Properties

Documents

Status

if(empty(prop("Expires")), "🚫 No Expiry Set", if(now() < prop("Expires"), if(dateBetween(prop("Expires"), now(), "days") < 91, "🔥 Expires in " + format(dateBetween(prop("Expires"), now(), "days")) + " days!", "✅ Valid"), "💀 Expired"))
 

One Date Property

Documents

Status

if(formatDate(start(prop("Issued -> Expires")), "L") == formatDate(end(prop("Issued -> Expires")), "L") or empty(prop("Issued -> Expires")), "🚫 No Expiry Set", if(now() < end(prop("Issued -> Expires")), if(dateBetween(end(prop("Issued -> Expires")), now(), "days") < 91, "🔥 Expires in " + format(dateBetween(end(prop("Issued -> Expires")), now(), "days")) + " days!", "✅ Valid"), "💀 Expired"))
 
By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!
By BenLatest • Was this helpful? Please consider buying me a coffee. Cheers!