require_once 'Net/NNTP/Client.php';
mixed Net_NNTP_Client::getDate ([integer $format = 1])
mixed Net_NNTP_Client::getDate
Retrieves the date from the NNTP-server.
$format - Tetermines which format to return.
Table 48-1.
$date['y'] Year
$date['m'] Month
$date['d'] Day
since 0.3
This function can not be called statically.
Example 48-1. Using getDate()
... $date = $nntp->getDate(); echo "Date: ".$date['m']."-".$date['d']."-".$date['y'];