From: | "Raul Secan" <raul(at)zerosoft(dot)ro> |
---|---|
To: | <pgsql-php(at)postgresql(dot)org> |
Subject: | to_char replacement |
Date: | 2005-01-24 16:47:33 |
Message-ID: | 001401c50234a0b410001401c50234$66a0b410$0a10a8c0@zerosoft.roa10a8c0@zerosoft.ro |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Hello, since to_char() function will no longer be available from PostgreSQL 8.1 ... I might need to change that from my scripts.
For example I had something like that, which you can see returns the day in the format I need:
SELECT TO_CHAR(some_date, 'DD-MM-YYYY') FROM some_table;
Is there anyway to do that without TO_CHAR?
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2005-01-24 17:17:15 | Re: to_char replacement |
Previous Message | Michelle Konzack | 2005-01-18 14:39:44 | base64 encoded images plus php |