Spec-Zone.ru › ColdFusion

createODBCDate

Creates an ODBC date object.

createODBCDate(date) → returns date

Member Function Syntax

date.createODBCDate()

  • CF
  • Lucee
  • BL 1.0.0+
  • See Also: createDate createODBCDateTime

    Argument Reference

    date date
    Required

    Date or date/time object.

    Compatibility

    ColdFusion:

    Member function is available in CF11+.

    Lucee:

    Member function is not available.

    Examples
    Sample code invoking the createODBCDate function

    Creates an ODBC date object

    Uses the createODBCDate function to create an ODBC date object

    <cfset Date = createDate(2012, 12, 12)>
    <cfset result = createODBCDate(Date)>
    <cfoutput>#result#</cfoutput>

    Expected Result: {d '2012-12-12'}

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/createodbcdate

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API