Net_NNTP::getDate()

Net_NNTP::getDate() – ニュースサーバから日付を取得する

Synopsis

require_once 'Net/NNTP.php';

array Net_NNTP::getDate ( )

Description

ニュースサーバから日付を取得します。

Return value

array - 日付を格納した連想配列。

  • $date['y']

  • $date['m']

  • $date['d']

Note

0.3 以降

This function can not be called statically.

Example

getDate() の使用

<?php
...
$date $nntp->getDate();
echo 
"Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>