function InDayHour(pub_at) {

  const now = new Date()/1000;

  const diffseconds = now - pub_at;

  const totalMinutes = diffseconds / 60;

  const totalHours = diffseconds / (60 * 60);

  const days = Math.floor(totalHours / 24);

  const hours = Math.floor(totalHours % 24);

  const minutes = Math.floor(totalMinutes % 60);

  let ret=``;

  if(days>0) {

    ret +=days+`d, `;

  }

  if(hours>0) {

    ret +=hours+`h, `;

  }

  if(minutes>0) {

    ret +=minutes+`m`;

  }

  return ret;

}