Re: Date Question.

From: Date: Wed, 05 Mar 2003 19:07:24 +0000
Subject: Re: Date Question.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138342@lists.php.net to get a copy of this message
Strip off the H:i:s part using explode() and use date() to get an equivalent string for right now and if they match, today's the day. On Wed, 5 Mar 2003, Sebastian wrote: > I have a date field in mysql in this format: Y-m-d H:i:s > > I would like to echo "Today" if the date is today, can someone offer some > help? Thanks. > > warm regards, > Sebastian - [BBR] Gaming Clan > http://www.broadbandreports.com >

« previous php.general (#138342) next »