Function sqlDateLiteral

  • Converts a JavaScript date into a format suitable for using in a LabKey SQL query, does not include time.

    Parameters

    • date: Date

      JavaScript date

    Returns string

    a date literal formatted to be used in a LabKey query