Re: [PHP] Re: strtotime
- From: ash@xxxxxxxxxxxxxxxxxxxx (Ashley Sheridan)
- Date: Sun, 09 Nov 2008 20:50:37 +0000
On Sun, 2008-11-09 at 19:46 +0100, gilles wrote:
"Thodoris" <tgol@xxxxxxxxxx> a crit dans le message de news:Which is actually incorrect (I've never seen the 50th of September) and
4916BB77.9030609@xxxxxxxxxxxxx
O/H Bastien Koert ??????:"Works fine" in php4 means date("d/m/Y",strtotime("20080950")) returns
2008/11/8 Maciek Sokolewicz <tularis@xxxxxxxxx>
gilles wrote:I'll translate
Avec la version 4 de php, strtotime("20080950") fonctionne correctementThis is an ENGLISH list, please rephrase your question in english and
en
allant sur le mois d'octobre, alors qu'en version 5: 19700101.
Merci de votre aide
people might understand.
Cette liste est une liste anglaise, reformulent svp votre question en
anglais svp.
merci,
- Tul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In PHP4, strtotime works fine
Define "works fine".
in PHP5 strtotime gives a result of 19700101 when the data entered was
strtotime("20080950")
Linux
PHP version 5.1.6
Apache 2
This strtotime("20080950") returns nothing.
---
Thodoris
20/10/2008, which is correct.
Thanks
it was fixed in PHP 5. What you are assuming is correct behaviour is
actually a bug.
Ash
www.ashleysheridan.co.uk
.
- Follow-Ups:
- Re: [PHP] Re: strtotime
- From: "Eric Butera"
- Re: [PHP] Re: strtotime
- References:
- strtotime
- From: "gilles"
- Re: strtotime
- From: Maciek Sokolewicz
- Re: [PHP] Re: strtotime
- From: "Bastien Koert"
- Re: [PHP] Re: strtotime
- From: Thodoris
- Re: [PHP] Re: strtotime
- From: "gilles"
- strtotime
- Prev by Date: Re: [PHP] Re: strtotime
- Next by Date: Re: [PHP] PHP - Web/list Question...
- Previous by thread: Re: [PHP] Re: strtotime
- Next by thread: Re: [PHP] Re: strtotime
- Index(es):
Relevant Pages
|