Reputation: 433
I am trying to setup this daterangepicker and I want to set it to the option they have in the list for "This Month". That way it always starts on the first of the month.
https://github.com/dangrossman/bootstrap-daterangepicker
Is there a way to pick that option by default, or do I need to set the first day and last day variables individually?
Thank you!
Upvotes: 1
Views: 3418
Reputation: 1769
You can set the startDate
option:
The start of the initially selected date range
Upvotes: 3