# DatePickerValueChangeDetails (@salmonui/calendars/date-picker)

> The DatePickerValueChangeDetails interface of @salmonui/calendars/date-picker: Second argument of onValueChange.

Canonical: https://salmonui.dev/docs/reference/calendars/date-picker/DatePickerValueChangeDetails

```ts
import type { DatePickerValueChangeDetails } from '@salmonui/calendars/date-picker';
```

Entry index: https://salmonui.dev/docs/reference/calendars/date-picker (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/calendars/date-picker.md).

## Reference

Kind: interface

```ts
interface DatePickerValueChangeDetails {
    readonly source: ChangeSource;
    readonly reason: 'input' | 'calendar' | 'time' | 'clear' | 'reset' | 'strict';
    readonly iso: string;
    readonly epochMilliseconds?: number | undefined;
}
```

Second argument of `onValueChange`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: ChangeSource;` |  |  |
| `reason` | `readonly reason: 'input' \| 'calendar' \| 'time' \| 'clear' \| 'reset' \| 'strict';` |  |  |
| `iso` | `readonly iso: string;` |  | The form value (`YYYY-MM-DD`, `YYYY-MM`, `YYYY`, `YYYY-MM-DDTHH:mm[:ss]` with an offset when `timeZone` is given; `''` when empty). |
| `epochMilliseconds` | `readonly epochMilliseconds?: number \| undefined;` | optional | The instant of a date-time value in the resolved time zone. |
