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'];
?>
ニュースサーバに接続し、認証を行う (Previous) メッセージ番号の最小値を取得する (Next)
Last updated: Thu, 18 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.