strtotime UK date weirdness
<p>Maybe I need more sleep but I have some weirdness with strtotime I cannot explain.</p>

<p>The UK localised notation for a date is <code>d/m/Y</code> which is what I am getting within a CSV from an external source to insert into MySQL (format: <code>Y-m-d</code>). </p>

<p>The immediate problem I saw, of course, was that PHP (when using <code>strtotime</code>) converted these wrong. Below is an example of a <code>var_dump</code> of the field value with the post-<code>strtotime</code> <code>var_dump</code> after:</p>

<pre><code>string(10) "13/07/1992" string(19) "1969-12-31 16:00:00" // This one is odd
string(10) "07/09/1992" string(19) "1992-07-09 00:00:00"
string(10) "09/11/1992" string(19) "1992-09-11 00:00:00"
</code></pre>

<p>Originally I thought it was because PHP did not support the UK notation ( <a href="http://www.php.net/manual/en/datetime.formats.date.php" rel="nofollow">http://www.php.net/manual/en/datetime.formats.date.php</a> ) and believes it is an American date however that does not explain why if I change my function to replace <code>/</code> with <code>-</code>:</p>

<pre><code>date('Y-m-d H:i:s', strtotime(str_replace('/', '-', $string_time)))
</code></pre>

<p>The same dates do work:</p>

<pre><code>string(10) "13/07/1992" string(19) "1992-07-13 00:00:00"
string(10) "07/09/1992" string(19) "1992-09-07 00:00:00"
string(10) "09/11/1992" string(19) "1992-11-09 00:00:00"
</code></pre>

<p>I infact have a test set of 200 dates that all work under the <code>-</code> notation.</p>

<p>Shouldn't the same rules apply here according to the documentation?</p>
