Outputting Date
Posted: Mon Apr 10, 2006 3:52 am
In my database I have a user_lastlogin which is stored as a datetime value. i.e. 0000-00-00 00:00:00
When I echo this date for example like this:
How do I control the output so that it is displayed time - date?
When I echo this date for example like this:
Code: Select all
....
$user_lastlogin = $myrow['user_lastlogin'];
echo $user_lastlogin;