Belin.io Core
    Preparing search index...

    Function toYmdHms

    • Converts the specified date to the YYYY-MM-DD HH:MM:SS format.

      Parameters

      • date: Date

        The date to convert.

      • options: { excludeDate?: boolean; excludeTime?: boolean; separator?: string } = {}

        Values indicating how to format the resulting string.

      Returns string

      The YYYY-MM-DD HH:MM:SS format corresponding to the specified date.