function findNum(aDate){
	const theDate = new Date(Date.UTC(2015, 4, 18));
	const oneDay = 1000 * 60 * 60 * 24;
	let subDiff = (Math.floor(Math.floor(aDate - theDate)/oneDay));
	
	if(logger){
		console.log(`subdiff is ${subDiff}`);
		console.log(`num is ${subDiff % 81}`);
	}
	return subDiff % 81;
}
/**
 * This is where the magic happens to calculate spotlight
 * @log 
 * => used to run a console log and only needed to logged once
 * => function is ran multiple times as the current setup we reuse this function to find "following CW SL", where the not today date but date of post-cw sl
 */
This is where the magic happens to calculate spotlight
@log
=> used to run a console log and only needed to logged once
=> function is ran multiple times as the current setup we reuse this function to find "following CW SL", where the not today date but date of post-cw sl
This is where the magic happens to calculate spotlight @log = > used to run a console log and only needed to logged once = > function is ran multiple times as the current setup we reuse this function to find " following CW SL " where the not today date but date of post - cw sl
function findNum(aDate){
	const theDate = new Date(Date.UTC(2015, 4, 18));
	const oneDay = 1000 * 60 * 60 * 24;
	let subDiff = (Math.floor(Math.floor(aDate - theDate)/oneDay));
	if(logger){
		console.log(`subdiff is ${subDiff}`);
		console.log(`num is ${subDiff % 81}`);
	}
	return subDiff % 81;
}
function findNum ( aDate ) { const theDate = new Date ( Date . UTC ( 2015 , 4 , 18 ) ) ; const oneDay = 1000 * 60 * 60 * 24 ; let subDiff = ( Math . floor ( Math . floor ( aDate - theDate ) / oneDay ) ) ; if ( logger ) { console . log ( ` ${ subDiff } ` ) ; console . log ( ` ${ subDiff % 81 } ` ) ; } return subDiff % 81 ; }
This is where the magic happens to calculate spotlight
 @log
 => used to run a console log and only needed to logged once
 => function is ran multiple times as the current setup we reuse this function to find "following CW SL", where the not today date but date of post-cw sl
This is where the magic happens to calculate spotlight @log = > used to run a console log and only needed to logged once = > function is ran multiple times as the current setup we reuse this function to find " following CW SL " where the not today date but date of post - cw sl