Article View: es.comp.os.linux.programacion
Article #8300Re: php y pasa una fecha a cadena !! solucionado
From: Iván Sánchez Ortega
Date: Tue, 19 Nov 2002 23:17
Date: Tue, 19 Nov 2002 23:17
21 lines
2123 bytes
2123 bytes
Pacolinx wrote:
> Ya esta solucionado asi:
> f=strftime("%Y-%m-%d",strtotime($fecha));
> echo "$f";
Tambi�n puedes probar la funci�n date(), que tambi�n formatea fechas a
partir de un timestamp.
----------------------------------
Iv�n S�nchez Ortega -ivansanchez-arroba-wanadoo-punto-e-ese-
Three servers for the admins under the influence of rye,
seven routers for the network techs in their halls of stone
Nine workstations for mortal lusers doomed to die
One NT box from the dark lord on his throne
in the land of Redmond where the shadows lie
One box to run them all, one box to blind them
one box to control them all and in the darkness grind them
from the land of Redmond where the shadows lie.
Technical Details
Message-ID:
<20021119231743.75ABBE06.NOFFLE@BlueSpark.local>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!diablo.theplanet.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!news.audiolis.com!pinsa.escomposlinux.org!not-for-mailReferences:
<2e0oa-7t9.ln1@pacohost.aldariasnet.es> <141oa-31a.ln1@pacohost.aldariasnet.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,eb1994b393abc655 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-11-19 15:17:49 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!diablo.theplanet.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!news.audiolis.com!pinsa.escomposlinux.org!not-for-mail From: Iván Sánchez Ortega <ivansanchez-arroba-wanadoo-punto-e-ese-@wanadoo.es> Newsgroups: es.comp.os.linux.programacion Subject: Re: php y pasa una fecha a cadena !! solucionado Date: Wed, 20 Nov 2002 00:17:43 +0100 Organization: acm.asoc.fi.upm.es Lines: 21 Message-ID: <20021119231743.75ABBE06.NOFFLE@BlueSpark.local> References: <2e0oa-7t9.ln1@pacohost.aldariasnet.es> <141oa-31a.ln1@pacohost.aldariasnet.es> Reply-To: Iván Sánchez Ortega <ivansanchez-arroba-wanadoo-punto-e-ese-@wanadoo.es> NNTP-Posting-Host: 62-37-155-154.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: pinsa.escomposlinux.org 1037747868 1134 62.37.155.154 (19 Nov 2002 23:17:48 GMT) X-Complaints-To: newsmaster@pinsa.escomposlinux.org NNTP-Posting-Date: Tue, 19 Nov 2002 23:17:48 +0000 (UTC) User-Agent: KNode/0.7.1