Displays dates
Posted: Thu Jun 18, 2009 4:44 am
hi i was wondering how i can display a list of items from mysql database for the current month. my date formate in the database is 0000-00-00.
Thanks
Thanks
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
echo date("y-m-d g:i:a", strtotime($date));
// assumes $date contains the date row from your database