Datie()? I think you mean date($row[6])

Just have a variable hold the current date, and just do a check if the current date <> old date in variable, if it is, print a row (the "August 1st" one in the example below), assign the current date to the variable.

(I'm assuming you mean it would appear like this,
------August 1st------
News Item One
News Item 2
------August 3rd-----
News Item 3
News Item 4)