Set specific date for Comiseo Daterangepicker

https://tamble.github.io/jquery-ui-daterangepicker/#
JavaScript

Set the variables

var milleniumStartDate = new Date('1/1/2000');
var milleniumStartDateMO = moment(milleniumStartDate);

Apply it as the dateStart

 {
         text: 'This Millenium',
         dateStart: function() { return moment().set( 	milleniumStartDateMO.toObject()   ) },
         dateEnd: function() { return moment().add('days', 0) }
 }

Written by fbrefere001

Posted by fbrefere001 on Friday February 4, 2022