Spec-Zone.ru › ColdFusion

lsParseDateTime

Converts a string that is a valid date/time representation in the current locale into a date/time object.

lsParseDateTime(dt_string) → returns date

  • CF
  • Lucee
  • BL 1.0.0+
  • Argument Reference

    dt_string string
    Required

    Examples
    Sample code invoking the lsParseDateTime function

    lsParseDateTime Example

    This example illustrates use of the lsParseDateTime function.

    lsParseDateTime("01/08/2011")

    Expected Result: {ts '2011-01-08 00:00:00'}

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

    Spec-Zone.ru

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