Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
Swimming at the 2004 Summer Olympics – Men's 400 metre freestyle
Table title:
Final
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Rank </th><th colspan=1 rowspan=1 > Lane </th><th colspan=1 rowspan=1 > Name </th><th colspan=1 rowspan=1 > Nationality </th><th colspan=1 rowspan=1 > Time </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 5 </td><td class="highlighted"  colspan=1 rowspan=1 > Ian Thorpe </td><td class="highlighted"  colspan=1 rowspan=1 > Australia </td><td class="highlighted"  colspan=1 rowspan=1 > 3:43.10 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 4 </td><td class="highlighted"  colspan=1 rowspan=1 > Grant Hackett </td><td class="highlighted"  colspan=1 rowspan=1 > Australia </td><td colspan=1 rowspan=1 > 3:43.36 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Klete Keller </td><td colspan=1 rowspan=1 > United States </td><td colspan=1 rowspan=1 > 3:44.11 </td><td colspan=1 rowspan=1 > AM </td></tr>
<tr> <td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Larsen Jensen </td><td colspan=1 rowspan=1 > United States </td><td colspan=1 rowspan=1 > 3:46.08 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > Massimiliano Rosolino </td><td colspan=1 rowspan=1 > Italy </td><td colspan=1 rowspan=1 > 3:46.25 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > Yuri Prilukov </td><td colspan=1 rowspan=1 > Russia </td><td colspan=1 rowspan=1 > 3:46.69 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Spyridon Gianniotis </td><td colspan=1 rowspan=1 > Greece </td><td colspan=1 rowspan=1 > 3:48.77 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 8 </td><td colspan=1 rowspan=1 > 8 </td><td colspan=1 rowspan=1 > Takeshi Matsuda </td><td colspan=1 rowspan=1 > Japan </td><td colspan=1 rowspan=1 > 3:48.96 </td><td colspan=1 rowspan=1 > AS </td></tr>
</table>
Question:
In which event did Australia's Ian Thorpe edge out his teammate Grant Hackett and by how much time?
Answer:
In Swimming at the 2004 Summer Olympics – Men's 400 metre freestyle, Australia's Ian Thorpe edged out his teammate Grant Hackett and won the Olympic title in 3:43.10.