Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/18bb71f6d4cc0d3341032aeb34a461ab to your computer and use it in GitHub Desktop.
Save trycf/18bb71f6d4cc0d3341032aeb34a461ab to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
x = isDate(1)
writeOutput(x)
writeOutput("<hr>")
writeOutput(toString(x))
writeOutput("<hr>")
writeOutput(x.getClass().getName())
writeOutput("<hr>")
writeOutput(x.toString())
writeOutput("<hr>")
writeOutput(serializeJson({x=x}))
writeOutput("<hr>")
cfwddx(action="cfml2wddx", input=x, output="w")
writeOutput(encodeForHtml(w))
writeOutput("<hr>")
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment