I can find plenty of datetime pickers for AngularJS but no reliable (working) ones for Angular. Is there any Angular datetime picker that works, that someone here has used?
Try Calendar control from primeNG. This gives you any format of date & time.
Sample implementation looks like below-
Update package.json
"primeng": "^1.0.0-beta.7", "primeui": "^4.1.10",
component lines are-
import { Calendar } from 'primeng/primeng';
directives: [Calendar]
p-calendar [(ngModel)]="date1" dateFormat="mm/dd/yy" timeFormat="HH:mm">
You can find more format examples on - http://www.primefaces.org/primeng/#/calendar
Not sure if this helps, but i have made a basic popup component using the ngx-bootstrap datepicker and timepicker. You can find it here
https://github.com/Gillardo/ngx-bootstrap-datetime-popup
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With