Jump to content

Archived

This topic is now archived and is closed to further replies.

garethppls

Order By Dates?

Recommended Posts

[!--sql--][div class=\'sqltop\']SQL[/div][div class=\'sqlmain\'][!--sql1--][span style=\'color:blue;font-weight:bold\']SELECT[/span] something [color=green]FROM[/color] [color=orange]some_table[/color] [color=green]ORDER BY[/color] date_fieldname .... [!--sql2--][/div][!--sql3--]

Share this post


Link to post
Share on other sites
[!--quoteo(post=388910:date=Jun 28 2006, 06:19 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ Jun 28 2006, 06:19 PM) [snapback]388910[/snapback][/div][div class=\'quotemain\'][!--quotec--]
[!--sql--][div class=\'sqltop\']SQL[/div][div class=\'sqlmain\'][!--sql1--][span style=\'color:blue;font-weight:bold\']SELECT[/span] something [color=green]FROM[/color] [color=orange]some_table[/color] [color=green]ORDER BY[/color] date_fieldname .... [!--sql2--][/div][!--sql3--]
[/quote]
how would someone put the date in the correct format for MYSQL

[a href=\"http://dev.mysql.com/doc/refman/5.0/en/timestamp-4-1.html\" target=\"_blank\"]http://dev.mysql.com/doc/refman/5.0/en/timestamp-4-1.html[/a]
*edit: found it here thanks!!*

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.