You are here: Re: Calendar and date functions « All PHP « IT news, forums, messages
Re: Calendar and date functions

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация