Re: Bilingual strtotime()

From: Date: Sun, 06 Feb 2011 10:15:00 +0000
Subject: Re: Bilingual strtotime()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-311168@lists.php.net to get a copy of this message
Alexis wrote: > I was wondering if there was a way to use the strtotime() function > when the months are in one or the other of the above two languages? Ah, I misread this earlier - strtotime(), not strftime(). You're talking about transforming from text to a locale()-neutral format. I don't think strtotime() is locale-sensitive - according to the manual: "The function [strtotime] expects to be given a string containing an English date format" -- Per Jessen, Zürich (4.6°C)

« previous php.general (#311168) next »