> ## Documentation Index
> Fetch the complete documentation index at: https://docs.calit.now/llms.txt
> Use this file to discover all available pages before exploring further.

# Dates and time zones

> Avoid off-by-one all-day dates and ambiguous times around clock changes.

## All-day and multi-day events

Pass a real calendar date with no time. For a one-day event, omit `end`. For several days, use the morning after the last calendar day as the exclusive end **date**, with no time component.

```html theme={null}
<cal-it title="Book fair" start="2027-04-10" end="2027-04-13"></cal-it>
```

This covers April 10, 11, and 12. In the visual generator, choose April 12 as your last day; it generates the exclusive end for you.

## Timed events

Use both endpoints. With local times, choose the named zone where the event happens. With fully specified ISO strings, use an offset on each endpoint:

```html theme={null}
<cal-it title="Evening workshop"
        start="2027-04-10T18:00-07:00"
        end="2027-04-10T20:00-07:00"></cal-it>
```

An explicit offset determines the instant. A named timezone follows its offset rules; it is not shorthand for a fixed numeric offset. If a daylight-saving transition skips or repeats the wall-clock time, Calit requires an unambiguous time instead of choosing one for you. Pick a clearly valid time or specify the intended offset for each endpoint.

What to check before shipping: test the finished link in the provider your audience uses, especially for a cross-midnight or multi-day event. If the event has moved, [choose the right flow for existing guests](https://docs.calit.now/getting-started/calendar-behavior.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.