Subject | Re: TIME FORMAT |
---|---|
Author | Luhana Kahana |
Post date | 2007-08-07T11:37:08Z |
Awesome guys... That was all I need to know!
Thank you all!!!
Thank you all!!!
On 8/7/07, David Richmond <firebirdfaq@...> wrote:
>
> --- luluzynha13 wrote:
> > I'd like to know if there is any kind of configuration parameter for
> > TIME variables display in the firebird database.
>
> There isn't any. Firebird sends time data as a number (double) and PHP
> translates that to string.
>
> > values (Problems with the php/firebird I already found out a php
> > parameter that configures the TIME format display)
>
> I never trust the server as my apps. can run on various PHP
> installations and always use strtotime() function to convert the
> date/time string to PHP internal time value and then use date()
> function to format it as I want. Example:
>
> echo date('d.m.Y H:i:s', strtotime($row[0]));
>
> > But I also had
> > problems using EMS. EMS is showing me data information in the AM/PM
> > format instead of using a 24h format which is the way it was
> > behaving before the new installation.
>
> EMS has it's own setting.
>
> This is cleary a PHP setting issue.
>
> Dave
>
>
>
[Non-text portions of this message have been removed]