Re: quick question
| From: | Stut | Date: | Fri, 09 May 2008 13:15:52 +0000 |
| Subject: | Re: quick question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274067@lists.php.net to get a copy of this message | ||
If you're sure that's the format of the date, this will do it... list($day, $month, $year) = explode('/', $thedate); $thetimestamp = mktime(0, 0, 0, $month, $day, $year); -Stut -- http://stut.net/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