note 65833 deleted from function.strtotime by bjori

From: Date: Mon, 08 May 2006 18:18:16 +0000
Subject: note 65833 deleted from function.strtotime by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-110888@lists.php.net to get a copy of this message
Note Submitter: smajlovic@gmx_net ---- Hi there, I got a fault that I am not able to understand. When using the strtotime - function it works very well with the german (!) months : e.g. <?php $vals = strtotime("08 März 2006"); echo $vals; // result is 1147075560 ?> It even has no problem with the german "ä". But as soon as I use the month "Mai" I get the result -1. <?php $vals = strtotime("08 Mai 2006"); echo $vals; // result is -1 ?> Am I doing something wrong or what is the problem? My PHP version is 4.3.10 Thanks, smajlovic

« previous php.notes (#110888) next »