誘導前のスレでちゃんと質問止めてこいよ

function getDate(){
  $d = $this->item['dc']['date'];
  if (!$d || $d == '1970-01-01') {
    if ($this->item['pubdate']) {
      return date('Y-m-d', strtotime($this->item['pubdate']));
    } else {
      return '1970-01-01';
    }
  }
}

試してないから動くかは知らん