mixed Net_NNTP_Client::getDate (
integer $format = 1
)
Retrieves the date from the NNTP-server.
$format
- Tetermines which format to return.
$format | returns |
---|---|
0 |
timestamp
|
1 |
array - a hash with the date
|
since 0.3
This function can not be called statically.
Using getDate()
<?php
...
$date = $nntp->getDate();
echo "Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>