Skip to content

Instantly share code, notes, and snippets.

Created June 30, 2015 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/7fff5b302cce0cc9a055 to your computer and use it in GitHub Desktop.
Save anonymous/7fff5b302cce0cc9a055 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
foo = "{ts '2015-01-09 15:15:39'}";
writeDump(isDate(foo));
writeDump(DateFormat(foo, "yyyy-mm-dd"));
writeDump(LSDateFormat(foo, "yyyy-mm-dd"));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment