Re: Date functions

Поиск
Список
Период
Сортировка
От Alexandr Listopad
Тема Re: Date functions
Дата
Msg-id 20010517164100.A20159@laa.zp.ua
обсуждение исходный текст
Ответ на Date functions  (Carlos Felipe Zirbes <carlosz@dbserver.com.br>)
Список pgsql-php
On Thu, May 17, 2001 at 09:51:44AM -0300, Carlos Felipe Zirbes wrote:
>
> Hi.
>
> What's the best way to get current year, current month and current day?
> I need something like:
> $year = year();

$year = date("Y");

> $month= month();

$month = date("m"); or date("F");

> $day=day();

$day = date("d"); or ...

see function.date.html for date() function.

GoodLuck! :-)

--
 Laa

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html




В списке pgsql-php по дате отправления:

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Re: Date functions
Следующее
От: "Marc Sherman"
Дата:
Сообщение: Printing Notices to the web?