Net_NNTP::date()

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

Synopsis

require_once 'Net/NNTP.php';

array Net_NNTP::date ( )

Description

This function is deprecated. That means that future versions of this package may not support it anymore.

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

Return value

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

  • $date['y']

  • $date['m']

  • $date['d']

Note

This function can not be called statically.

Example

date() の使用

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