to_char replacement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?

[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux