[thelist] [PHP] strtotime not picking up mins and seconds...?

Phil Turmel pturmel-webdev at turmel.org
Mon Jul 13 11:38:00 CDT 2009


Tris wrote:
> Any ideas why:
> $myTimeStamp = strtotime ("15/07/2009 12:30:00");
> 
> gives an empty variable?
> PHP.net is not my friend today..
> 
> Tris...
> 

Hi Tris,

Check the locale on the server in question...  If php is running w/
default or US settings, month == 15 is not valid.

HTH,

Phil



More information about the thelist mailing list