Skip site navigation (1) Skip section navigation (2)

to_char replacement

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: 001401c50234$66a0b410$ (view raw, whole thread or download thread mbox)
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?


pgsql-php by date

Next:From: Christopher Kings-LynneDate: 2005-01-24 17:17:15
Subject: Re: to_char replacement
Previous:From: Michelle KonzackDate: 2005-01-18 14:39:44
Subject: base64 encoded images plus php

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group