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
This function can not be called statically.
Using getDate()
<?php
...
$date = $nntp->getDate();
echo "Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>