note 65833 added to function.strtotime
| From: | smajlovic at gmx_net | Date: | Mon, 08 May 2006 18:05:11 +0000 |
| Subject: | note 65833 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110885@lists.php.net to get a copy of this message | ||
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
----
Server IP: 212.124.37.9
Probable Submitter: 194.138.39.56 (proxied: 1.1 proxy15 (NetCache NetApp/6.0.3D2))
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/note/edit/65833
Del: integrated -- http://master.php.net/note/delete/65833/integrated
Del: useless -- http://master.php.net/note/delete/65833/useless
Del: bad code -- http://master.php.net/note/delete/65833/bad+code
Del: spam -- http://master.php.net/note/delete/65833/spam
Del: non-english -- http://master.php.net/note/delete/65833/non-english
Del: in docs -- http://master.php.net/note/delete/65833/in+docs
Del: other reasons-- http://master.php.net/note/delete/65833
Reject -- http://master.php.net/note/reject/65833
Search -- http://master.php.net/manage/user-notes.php