index.js
function randomDate() {
  var start = new Date(1995, 5, 16),
      end = new Date(),
      current = start,
      dates = [];

  while (current < end) {
    dates.push([
      current.getFullYear(),
      current.getMonth() + 1,
      current.getDate()
    ].join("-"));

    current.setDate(current.getDate() + 1);
  }

  return dates[Math.floor(Math.random() * dates.length)];
}
function randomDate() {
  var start = new Date(1995, 5, 16),
      end = new Date(),
      current = start,
      dates = [];

  while (current < end) {
    dates.push([
      current.getFullYear(),
      current.getMonth() + 1,
      current.getDate()
    ].join("-"));

    current.setDate(current.getDate() + 1);
  }

  return dates[Math.floor(Math.random() * dates.length)];
}
function randomDate ( ) { var start = new Date ( 1995 , 5 , 16 ) , end = new Date ( ) , current = start , dates = [ ] ; while ( current < end ) { dates . push ( [ current . getFullYear ( ) , current . getMonth ( ) + 1 , current . getDate ( ) ] . join ( "-" ) ) ; current . setDate ( current . getDate ( ) + 1 ) ; } return dates [ Math . floor ( Math . random ( ) * dates . length ) ] ; }
anytime between start of APOD and now
anytime between start of APOD and now