Re: i love strtotime but it is no use in New Zealand
Posted by fletch on 04/25/06 11:13
> HOWEVER, this obviously does not work for the day/month vs month/day
> scenario. That is, in New Zealand we use day/month/year, while the function
> assumes it to be month/day/year.
Doesn't setlocale() sort this out? What locale is the server your using
running? I always thought strtotime() obeyed the current locale
settings, strftime() certainly does.