Re: Date Question
| From: | John Holmes | Date: | Wed, 27 Oct 2004 16:35:13 +0000 |
| Subject: | Re: Date Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37050@lists.php.net to get a copy of this message | ||
Bomgardner, Mark A wrote:
I am having trouble converting a date from mm/dd/yyyy to yyyy-mm-dd on a user form. I know there was post about this, but I keep getting an error message when I try to search the archives. I have looked at the manual, but I am not finding what I am looking for.echo date('Y-m-d',strtotime('09/24/2004')); -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com