Creates an ODBC date-time object.
createODBCDateTime(date)
→ returns date
date.createODBCDateTime()
Uses the CreateODBCDateTime function to create an ODBC date-time object
<cfset Date = createDateTime(2012, 12, 12, 12, 12, 12)>
<cfset result = createODBCDateTime(Date)>
<cfoutput>#result#</cfoutput>
Expected Result: {ts '2012-12-12 12:12:12'}
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.