HomeGuidesReferenceLearn

Reference version

ArchiveExpo SnackDiscord and ForumsNewsletter
This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 51).

DateTimePicker

GitHub

npm

A component that provides access to the system UI for date and time selection.

Android
iOS

A component that provides access to the system UI for date and time selection.

Installation

Terminal
npx expo install @react-native-community/datetimepicker

If you are installing this in an existing React Native app (bare workflow), start by installing expo in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.

Usage

See full documentation at react-native-community/react-native-datetimepicker.