Hi,
You could code a function which would check if it is german date or english
date by ckeecking the end of the datetime ( for 'PM') then do what's needed.
This can be done either on php or js side (I don't know where you want to
put this control)
Hope this helps.
Regards
2008/3/5, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]>:
>
> Thanks for your answer but it's not what I'm looking for.
>
>
>
> My problem is that I have two installations on 2 different server.
>
>
>
> The application is exactly the same but on first system I receive the
> german timestamp from my db.
>
> On the second system (same PHP, same qooxdoo, same pear) I get the English
> timestamp.
>
>
>
> Both are german windows xp. They are connecting to the same DB-server with
> the same user/pw.
>
>
>
> Any ideas?
>
>
>
>
>
>
>
> *Von:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *Im Auftrag von *Stéphane
> ERARD
> *Gesendet:* Mittwoch, 5. März 2008 16:07
> *An:* qooxdoo Development
> *Betreff:* Re: [qooxdoo-devel] php-backend DB pear
>
>
>
> a way to go : http://fr3.php.net/manual/en/function.strftime.php
>
> 2008/3/5, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]>:
>
> Hi list,
>
>
>
> I have a problem with my php pear db-class in my qooxdoo-php-backend.
>
> When I execute a select-statement (one row is a datetime), the shown
> datetime of the result is like 01.01.2007 10:12PM.
>
>
>
> Does anyone know how to get a "german"-converted-time-string? F.e.
> 01.01.2007 22:12 ?
>
>
>
> Like I said: I'm using php5_2 and the pear DB class J
>
>
>
> Thanks
>
>
>
> Tobias
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
> --
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel