Description
ng2-date-picker is a configurable date picker for Angular applications. The README says the current version supports Angular 15, and older Angular versions are covered in the project's changelog. You install it from npm, import the DpDatePickerModule into your Angular module, and add the Angular CDK overlay stylesheet to your global styles. The component supports several modes, shown in the README as day, month, time and daytime, and the screenshots show each one. Its inputs are documented in an attributes table that lists, for each option, its type, default value and what it applies to. Locale support is available: the default locale is en, and other locales are set by importing them and applying them to the dayjs object. The README notes that the date picker must be reinitialized if the locale changes after the first setup. A live demo is linked from the README.…
Highlights
- Date, month, time and daytime modes
- Works with Angular 15
- Configurable inputs and locales
- Live demo and attributes table
Ratings & Reviews
No ratings yet
Be the first to rate ng2-date-picker.
People also visit

angular-moment-picker
Angular Moment Picker is an AngularJS directive for date and time picker
ng2-date-picker FAQ
What is ng2-date-picker?
A configurable date picker component for Angular applications, with day, month, time and daytime modes.
How do I install it?
Run npm install ng2-date-picker, import DpDatePickerModule into your module, and add the Angular CDK overlay stylesheet to your styles.
Which Angular version is supported?
The README says the latest version supports Angular 15. Older versions are covered in the changelog.
Can I change the language?
Yes. Import the locale you want, apply it to the dayjs object, and reinitialize the picker if you change it after setup.
Where can I see the options?
The README has an attributes table listing each input with its type, default value and description, plus a live demo.
What are the best ng2-date-picker alternatives?
Popular alternatives to ng2-date-picker include @nodro7/angular-mydatepicker, ng-pick-datetime and angularx-flatpickr. See all ng2-date-picker alternatives














