Date functions

From: Carlos Felipe Zirbes <carlosz(at)dbserver(dot)com(dot)br>
To: "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)org>
Subject: Date functions
Date: 2001-05-17 12:51:44
Message-ID: 01318BB7E12DD511B59F000103BC3D4B03E01E@TERRA
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php


Hi.

What's the best way to get current year, current month and current day?
I need something like:
$year = year();
$month= month();
$day=day();

TIA,

Carlos Felipe Zirbes
DBServer Assessoria em Sistemas de Informação
E-mail: carlosz(at)dbserver(dot)com(dot)br
Fone: (51) 342-8055
Fax: (51) 342-4838

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Adam Lang 2001-05-17 13:35:30 Re: Date functions
Previous Message Christian Marschalek 2001-05-16 12:46:35 RE: Removing my email!