[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [TimeSelection](index.md) / [onConfirm](./on-confirm.md)

# onConfirm

`val onConfirm: (`[`Date`](http://docs.oracle.com/javase/7/docs/api/java/util/Date.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/prompt/PromptRequest.kt#L130)

callback that is called when the date is selected.

### Property

`onConfirm` - callback that is called when the date is selected.