Re: Convert Date Format?

From: Date: Sat, 20 Mar 2004 16:30:03 +0000
Subject: Re: Convert Date Format?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181036@lists.php.net to get a copy of this message
Jeff Oien wrote:
How do I convert this 9/8/2001 (which is Month/Day/Year) to this 20010908 (YearMonthDay - with leading zeros)
echo date('Ymd',strtotime('9/8/2001')); -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#181036) next »