previousNet_NNTP_Client::getBodyRaw() (Previous) (Next) Net_NNTP_Client::getGroups()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_NNTP_Client::getDate()

Net_NNTP_Client::getDate() – NNTP サーバから日付を取得する

Synopsis

require_once 'Net/NNTP/Client.php';

mixed Net_NNTP_Client::getDate ( integer $format = 1 )

Description

NNTP サーバから日付を取得します。

Parameter

  • $format - 返り値の書式を指定します。

Return value

$format 返り値
0 timestamp
1 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'];
?>
previousNet_NNTP_Client::getBodyRaw() (Previous) (Next) Net_NNTP_Client::getGroups()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.