get working date from start and end date in js code example
Example: javascript get date start of today
var startOfDay = new Date();
startOfDay.setHours(0,0,0,0);
var endOfDay = new Date();
endOfDay.setHours(23,59,59,999);
var startOfDay = new Date();
startOfDay.setHours(0,0,0,0);
var endOfDay = new Date();
endOfDay.setHours(23,59,59,999);