Angular2, Bootstrap Datepicker, Start date Format Not set

97 views
Skip to first unread message

sri devi

unread,
Jun 20, 2016, 6:12:44 AM6/20/16
to AngularJS
When I am using bootstrap datepicker i need to set start state on 01/01/1930.But Format only allows when i gave count of days format.

 startDate: '-31578d', (working)

But Its not working when I use direct date format. Anyone plzzz help me


 startDate: '01/01/1930', (not working)


Sander Elias

unread,
Jun 22, 2016, 10:29:46 AM6/22/16
to AngularJS
This sounds like an Bootstrap datepicker issue, I don't see anything angular related in your code. Perhaps you can use an function in your component that calculates the day's format out of a date-format?

Regards
Sander

Rahul Tyagi

unread,
Jun 22, 2016, 3:18:57 PM6/22/16
to AngularJS
JavaTportal is the best online tutorial for Beginners and Professionals.

javaTportal is a Another way to Learn online Angularjs Tutorial for beginners.
Reply all
Reply to author
Forward
0 new messages