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

# Date/Time & Weather

> A clock and weather panel.

<Info>
  **Category:** Display · **Reads data:** weather · **Sends commands:** no
</Info>

## Mental model

A **Date/Time & Weather widget is a wall clock with a weather station.** It shows the
current time, date, and local weather — ambient context on a dashboard.

## When to use it

* A clock / date header
* Local weather context

## Settings

### General

* **Show time / date / weekday / weather** — which sections appear
* **Location** · **temperature unit**
* **Weather API endpoint (optional)** — custom source
* **Refresh interval**

## Script API example

The same interactions from a [dashboard script](/script/overview):

```js theme={null}
// Hide weather panel on very small screens
if (context.device.screenWidth < 480) widget.hide('weatherPanel');
```

<Card title="Widget reference" icon="table-cells" href="/dashboard/widgets/overview">
  Back to all widgets.
</Card>
