Last active
December 7, 2017 18:33
-
-
Save bardware/40c46e282a290110d94a71abf9fffed2 to your computer and use it in GitHub Desktop.
Different output in ACF 11 and 2016
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
<cfset dNow = Now()> | |
<cfset dateTimeVar = #dateTimeFormat( dNow, "yyyy.MM.dd HH:nn:ss" )# /> | |
<cfdump var="#dNow#"> | |
<cfdump var="#dateTimeVar#"> | |
<cfoutput> | |
#parseDateTime( dateTimeVar, "yyyy.MM.dd HH:mm:ss" )# | |
#parseDateTime( dateTimeVar, "yyyy.MM.dd HH:nn:ss" )# | |
</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment