101
reputation
1

Michael Blankenship

function jam(day) {return day == Date();}
var today = new Date();
var tomorrow = new Date(+new Date() + 86400000);
var yesterday = new Date(+new Date() - 86400000);
var rule = jam(tomorrow) && jam(yesterday) && !jam(today);
  • Member for 4 years
  • 4 profile views
  • Last seen Oct 22 '15 at 16:10