Subject Re: [firebird-php] How to format date using Firebird field
Author Lester Caine
rc.199011 wrote:
> I am using Windows Vista Premium and Ubuntu 9.4, Apache 2, PHP 5.2.9 and Firebird 2.1.
> When I make a select against Firebird, the date filed is showm as "m/d/Y H:M:S", but I need show li "d/m/Y H:M".
> I have tried change PHP.ini and use init_set(ibase.dateformat, "%d-%m-%Y"), but they did not work.
> Is there a function similar to "number_format($row->MONEY_VALUE, 2, ',', '.')" to format date and time?

I do the display formatting IN php using the PHP date/time functions.

Lester Caine - G8HFL
Contact -
L.S.Caine Electronic Services -
EnquirySolve -
Model Engineers Digital Workshop -
Firebird -