# describeChosenTime

The date or time a layer is set to, in words for a status line or an
announcement: the first date control's day ("11 November 2026") or the
first date and time control's UTC slot ("13:00 UTC on 11 November 2026").
Null when the layer has neither, or its value is not a real day or slot.
It is a message, to format with the active catalogue.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { describeChosenTime } from "@mapcairn/core";
 
function describeChosenTime(definition: LayerDefinition, values: ControlValues): Message | null;
```

## Parameters

- `definition` (`LayerDefinition`)
- `values` (`ControlValues`)

## Returns

`Message | null`

## See also

- [`LayerDefinition`](https://docs.mapcairn.com/api/core/LayerDefinition.md)
- [`ControlValues`](https://docs.mapcairn.com/api/core/ControlValues.md)
- [`Message`](https://docs.mapcairn.com/api/core/Message-typealias.md)

Source: [packages/core/src/layers/controls.ts:112](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/controls.ts#L112)
