RE: [PHP] Date format from file

From: Date: Wed, 05 Feb 2003 17:42:24 +0000
Subject: RE: [PHP] Date format from file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134447@lists.php.net to get a copy of this message
> Is it possible to read a string from a text file (i.e. > 0502031130) and be able to use that in a date function such as: > > $date = date("dmyHi", strtotime('+28 days)); > > How would I use that string as the date in the above code? What database are you using? You can probably do all of this in your SQL statement if you're using the correct columns. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#134447) next »