Name

CreateODBCDateTime

Synopsis

                  
                  CreateODBCDateTime(date)

Returns the date and time in ODBC format. For information on how ColdFusion MX handles two-digit years, see CreateDate( ). Example:

7pm on 04/15/2003 looks like 
<cfoutput>#CreateODBCDateTime('04/15/2003 19:00:00')#</cfoutput> 
in ODBC timestamp format.

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.