datetime field - still a newbie
| From: | Alexander Ross | Date: | Thu, 25 Jul 2002 01:55:22 +0000 |
| Subject: | datetime field - still a newbie | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109399@lists.php.net to get a copy of this message | ||
I have a datetime field in one of my mysql tables...when displaying some of
my records I want to display the date in the aforementioned datetime field,
but if the date is today I want to display "today" instead. If the date is
yesterday I want it to display that .... so I how do I compare the date in
my record to todays date? Thanks
Alex