Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list CVS commits mailing list
require_once 'Net/NNTP.php';
array Net_NNTP::getDate ()
array Net_NNTP::getDate
Retrieves the date from the news server
array - a hash with the date
$date['y'] Year
$date['m'] Month
$date['d'] Day
since 0.3
Esta función no puede ser llamada estáticamente.
Ejemplo 50-1. Using getDate()
<?php ... $date = $nntp->getDate(); echo "Date: ".$date['m']."-".$date['d']."-".$date['y']; ?>