Spec-Zone.ru › ColdFusion

createODBCTime

Creates an ODBC time object.

createODBCTime(date) → returns date

Member Function Syntax

date.createODBCTime()

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

    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 createODBCTime function

    Creates an ODBC time object

    Uses the CreateODBCTime function to create an ODBC time object

    <cfset time = createDateTime(2012, 12, 12, 12, 12, 12)>
    <cfset result = createODBCTime(time)>
    <cfoutput>#result#</cfoutput>

    Expected Result: {t '12: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/createodbctime

    Spec-Zone.ru

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