I have a very small MySQL database that looks like this:
id name password time
3 xxx-xxxxx password 09 Oct 2002 15:38:46
4 xxx-xxxxx password 18 Sep 2002 16:16:43
22 xxx-xxxxx password 08 Oct 2002 09:56:15
24 xxx-xxxxx password 08 Oct 2002 09:51:45
Now what I want to do is get the latest (last) date from this table. As you can see, the last (modified) date is not always the last record. Now when I say:
SELECT time FROM x ORDER BY time ASC LIMIT 0, 1 (or DESC), it orders by the day of the date (08 - 08 - 09 - 18). How do I get the latest date from this table, to print a last modified on my web page?? Thanks!