array Net_NNTP::date (
)
This function is deprecated. That means that future versions of this package may not support it anymore.
ニュースサーバから日付を取得します。
array
- 日付を格納した連想配列。
$date['y']
年
$date['m']
月
$date['d']
日
This function can not be called statically.
date() の使用
<?php
...
$date = $nntp->date();
echo "Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>