Created
February 8, 2022 15:15
-
-
Save trycf/18bb71f6d4cc0d3341032aeb34a461ab to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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