array Net_NNTP::date (
)
This function is deprecated. That means that future versions of this package may not support it anymore.
Retrieves the date from the news server
array
- a hash with the date
$date['y']
Year
$date['m']
Month
$date['d']
Day
This function can not be called statically.
Using date()
<?php
...
$date = $nntp->date();
echo "Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>