[!--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!!*