mysql select earliest date help appreciated...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scarface222
Forum Contributor
Posts: 354
Joined: Thu Mar 26, 2009 8:16 pm

mysql select earliest date help appreciated...

Post by scarface222 »

Hey guys I have dates in my database in this format, any ideas anyone on how to select the earliest date with a mysql statement.

DATE FORMAT:
2009-08-26 18:29:04
scarface222
Forum Contributor
Posts: 354
Joined: Thu Mar 26, 2009 8:16 pm

Re: mysql select earliest date help appreciated...

Post by scarface222 »

nevermind

SELECT MIN(date), user FROM s
Post Reply