Net_NNTP::date()

Net_NNTP::date() – get date from news server

Synopsis

require_once 'Net/NNTP.php';

array Net_NNTP::date ( )

Description

This function is deprecated. That means that future versions of this package may not support it anymore.

Retrieves the date from the news server

Return value

array - a hash with the date

  • $date['y'] Year

  • $date['m'] Month

  • $date['d'] Day

Note

This function can not be called statically.

Example

Using date()

<?php
...
$date $nntp->date();
echo 
"Date: ".$date['m']."-".$date['d']."-".$date['y'];
?>
Connects and authenticates to a newsserver (Previous) get lowest message number (Next)
Last updated: Fri, 21 Nov 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.