Re: quick question

From: Date: Fri, 09 May 2008 12:16:43 +0000
Subject: Re: quick question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-274066@lists.php.net to get a copy of this message
Well, when I try date('d/m/y', strtotime($_POST('date')) - it seems mixing day and month, I tried setlocale(LC_ALL, 'en_GB'); but it didn't
strtotime() returns a unix timestamp (ie number of seconds since 1970ish. Nothing to do with the date object. -- Richard Heyes +----------------------------------------+ | Access SSH with a Windows mapped drive | | http://www.phpguru.org/sftpdrive | +----------------------------------------+

« previous php.general (#274066) next »