Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 920 Bytes

File metadata and controls

35 lines (24 loc) · 920 Bytes
sidebar_label end
title end
description You can learn about the end date in the documentation of the DHTMLX JavaScript Booking library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Booking.

end

Description

@short: Optional. Defines the date until which to show available slots

Usage

end?: Date;

Parameters

  • Date - the end date until which to display available slots; the default value is one year from the current date.

Example

new booking.Booking("#root", {
    data,
    end: new Date(2025, 11, 11),
    // other parameters
});

The snippet below shows how to set the start and end dates:

<iframe src="https://snippet.dhtmlx.com/cc28whe7?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>