Re: [PHP] quick question

[email protected] (Richard Heyes)
Newsgroups php.general
Message-ID <[email protected]>
> 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    |
+----------------------------------------+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.