|
Posted by NC on 09/11/07 00:37
On Sep 10, 12:05 am, Otis <otie_nos...@cox.net> wrote:
>
> I must tell you that the PHP documentation for date
> stuff stinks.
I disagree. Just look at documentation for date():
date
(PHP 4, PHP 5)
date -- Format a local time/date
Description
string date ( string $format [, int $timestamp] )
Returns a string formatted according to the given format
string using the given integer timestamp or the current
time if no timestamp is given. In other words, timestamp
is optional and defaults to the value of time().
http://www.php.net/date
> Who needs silly examples on how to get current date
> and time?
All you needed to do is to carefully read the first paragraph; it had
all the information you needed...
Cheers,
NC
Navigation:
[Reply to this message]
|