Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/b0ec9635d1d5763950d1acc83b222de1 to your computer and use it in GitHub Desktop.
Save trycf/b0ec9635d1d5763950d1acc83b222de1 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
since = dateAdd("h", -12, now());
now = now();
isFresh = now > since;
echo(since);
echo(now);
echo(isFresh);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment