can you give an example? I am stil learning :)

----- Original Message -----
From: "Philip Hallstrom" <[EMAIL PROTECTED]>


| 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to