Created
October 7, 2016 14:44
-
-
Save anonymous/5a06e0309a37057dcb1ed78b88be87db 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> | |
n = createDateTime(2015,12,30,11,22,33); | |
ds = { | |
df : dateFormat(n,"MM/DD/YYYY") , | |
dtf : dateTimeFormat(n,"MM/DD/YYYY") | |
}; | |
dsl = { | |
dfL : dateFormat(n,"mm/dd/yyyy") , | |
dtfl: dateTimeFormat(n,"mm/dd/yyyy") | |
}; | |
ds2 = { | |
dtf : dateTimeFormat(n,"D|d||H|h||M|m||S|s||W|w||Y|y||Z|z") , | |
df : dateFormat(n,"D|d||H|h||M|m||S|s||W|w||Y|y||Z|z") | |
}; | |
writeDump(ds); | |
writeDump(dsl); | |
writeDump(ds2); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment