Received: from terra.dbserver.com.br ([200.225.179.146]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4HCpkA64125 for ; Thu, 17 May 2001 08:51:47 -0400 (EDT) (envelope-from carlosz@dbserver.com.br) Received: by TERRA with Internet Mail Service (5.5.2650.21) id ; Thu, 17 May 2001 09:51:45 -0300 Message-ID: <01318BB7E12DD511B59F000103BC3D4B03E01E@TERRA> From: Carlos Felipe Zirbes To: "[PHP] PostgreSQL" Subject: Date functions Date: Thu, 17 May 2001 09:51:44 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f4HCpmA64147 X-Archive-Number: 200105/75 X-Sequence-Number: 384 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@dbserver.com.br Fone: (51) 342-8055 Fax: (51) 342-4838