Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/ce63e42bd58b71b028b4f7c979252de6 to your computer and use it in GitHub Desktop.
Save trycf/ce63e42bd58b71b028b4f7c979252de6 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
function archMemExpCompare(exp){
//change return to however the front end needs it
checkDate = createDateTime(2026,03,31,0,0,0);
return exp >= now().getTime() ? 'yes':'no';
}
writeOutput(archMemExpCompare(1743479999000));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment