Skip to content

Instantly share code, notes, and snippets.

@d1rtym0nk3y
Last active August 29, 2015 14:17
Show Gist options
  • Save d1rtym0nk3y/7dd53eaabcc18f72bab6 to your computer and use it in GitHub Desktop.
Save d1rtym0nk3y/7dd53eaabcc18f72bab6 to your computer and use it in GitHub Desktop.
<cfscript>
dStart = now().add(1, 'month').startOf('month');
dEnd = dStart.clone().endOf('month');
</cfscript>
<cfscript>
sys = createobject('java', 'java.lang.System')
d1 = now();
d2 = d1;
d3 = now();
d4 = d3.clone();
</cfscript>
<cfoutput><pre>
d1: #sys.identityHashCode(d1)#
d2: #sys.identityHashCode(d2)#
d3: #sys.identityHashCode(d3)#
d4: #sys.identityHashCode(d4)#
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment