Re: to_char replacement

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Raul Secan <raul(at)zerosoft(dot)ro>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: to_char replacement
Date: 2005-01-24 17:17:15
Message-ID: 41F52D9B.7070209@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

to_char() will still be around for dates, just not for intervals. You
have nothing to worry about.

Chris

Raul Secan wrote:
>
> 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?

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Michael Fuhr 2005-01-24 17:44:35 Re: to_char replacement
Previous Message Raul Secan 2005-01-24 16:47:33 to_char replacement