Copyright © 2023 MIT License. | Design and development by Yury Uvarov.
💢 Usage example

biletiki.store — a website example for searching for flight tickets and hotels using vanilla-calendar.

Date range

Start and End Dates of Existing Dates

The date range in the calendar can be set using the date.min and date.max parameters. These parameters specify the permissible date range in the calendar.

By default, the minimum date is '1970-01-01', which corresponds to the beginning of UNIX time. The default maximum date is set to '2470-12-31', and it is chosen arbitrarily.

If you need to set a specific date range, replace the values of the date.min and date.max parameters with the dates you require. Note that the calendar will not process dates outside the specified range.

The example below demonstrates how you can set your own start and end dates for the range.