https://github.com/aviccomm/aviccomm.github.io
mailchimp mnizh2020
action="https://gmail.us14.list-manage.com/subscribe/post?u=a88438fc5b30346abb8de0d8b&id=3e8945b7ea"
mailchimp lz284 njit
action="https://njit.us14.list-manage.com/subscribe/post?u=fabe2356e72caffbe2b2f2d3e&id=e52a64c1a0"
mailchimp alice
action="https://aviccomm.us14.list-manage.com/subscribe/post?u=20166036148c51523df8edcdf&id=52c2d5bd35"
/* Date window */
var digitColour = 'rgb(255,255,255)';
var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
var n = new Date();
ddy = days[n.getDay()];
ddt = n.getDate();
//calculate how many days for this month
function getDuration () {
let dtt = new Date()
var month = dtt.getMonth()
dtt.setMonth(dtt.getMonth() + 1)
dtt.setDate(0)
return dtt.getDate()
}
var total_days;
total_days=getDuration();
var hincr0 =hincr>=24? hincr-24:hincr
var ampm = hincr0 >= 12 ? 'PM' : 'AM';
daydy=ampm
if(hincr>=24){
ddt=ddt+1;
if(ddt>total_days){
ddt=1;
}
}
ddy=ampm; // set AM or PM to ddy
// console.log( "now: ", ddy, ddt, hincr, hincr0,ampm);
var cntnr = d.createElement('div');
cntnr.setAttribute('style', 'display: block;'
+'position: absolute;'
+'height: '+xy(8)+'px;'
+'width: '+xy(17)+'px;'
+'margin: auto; top: 0; bottom: 0;'
+'left: '+xy(65)+'px;'
+'border:'+xy(0.1)+'px solid '+digitColour+';'
+'background:#fff;'
+'font: '+xy(4.5)+'px tahoma,sans-serif;'
+'color: #444;'
+'line-height: '+xy(6)+'px;'
+'box-shadow: inset '+xy(.7)+'px '+xy(.7)+'px '+xy(.7)+'px 0 rgba(0,0,0,0.8);'
+'padding:0;');
dial.appendChild(cntnr);
var day = d.createElement('div');
day.setAttribute('style', 'display: block;'
+'position: absolute;'
+'height: '+xy(5.5)+'px;'
+'width: '+xy(8.1)+'px;'
+'top: '+xy(1)+'px;'
+'left: '+xy(1)+'px;'
+'border-right: .2px solid #555;'
+'padding:0;');
cntnr.appendChild(day);
day.appendChild(d.createTextNode(ddy));
var date = d.createElement('div');
date.setAttribute('style', 'display: block;'
+'position: absolute;'
+'height: '+xy(5.5)+'px;'
+'width: '+xy(5)+'px;'
+'top: '+xy(1)+'px;'
+'left: '+xy(9.5)+'px;'
+'padding:0;');
cntnr.appendChild(date);
date.appendChild(d.createTextNode(ddt));