Skip to content

Instantly share code, notes, and snippets.

@acotie
Created March 11, 2010 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acotie/328955 to your computer and use it in GitHub Desktop.
Save acotie/328955 to your computer and use it in GitHub Desktop.
<cfscript>
objDate = createobject("java", "java.util.Date");
objCalendar = createobject("java", "java.util.Calendar");
//theDate = now();
//calendar.set(datepart("yyyy",theDate),datepart("m",theDate),datepart("d",theDate),datepart("h",theDate),datepart("n",theDate),datepart("s",theDate));
</cfscript>
<cfdump var="#objDate#">
<cfdump var="#objCalendar#">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment