Re: fechas
| From: | Walter D. Funk | Date: | Thu, 21 Nov 2002 16:01:42 +0000 |
| Subject: | Re: fechas | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-29535@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/es/function.setlocale.php
Morgan Christiansson <mog at linux dot nu>
29-Mar-2000 01:56
check /usr/share/locale/ if you want more info about the locale
available with your *NIX box
there is also a file called /usr/share/locale/locale.alias with a list
of aliases
such as swedish for sv_SE
so on all boxes i have accounts on (rh 6.0 and slack 3.4) you can just
use setlocale("LC_ALL","swedish"); or other prefered language in plain
english.
However, the weekdays were in all lowercase :(
Note: export LC_ALL=swedish made a lot of programs swedish for me,
it's also possible to make them russian or japanese :)
que te dio a entender que sea solo para windows?
----- Original Message -----
From: "Daniel" <danyger@montevideo.com.uy>
To: <lista@phpes.com>
Sent: Thursday, November 21, 2002 3:02 PM
Subject: [PHP-ES] fechas
> buenas queria saber si existia alguna funcion para linux que formatee la
> fecha en el idima seleccionado, vi que existe setlocale pero solo es
> para windows (al menos es lo que entendi).
>
> Gracias
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>
>