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:
2017 SX17
Table title:
Approaches in 2017
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Date/Time (UT) </th><th colspan=1 rowspan=1 > Nominal Distance (AU, LD and km) </th><th colspan=1 rowspan=1 > Body </th></tr>
<tr> <td colspan=1 rowspan=1 > 1 October 2017 – 22:29 </td><td colspan=1 rowspan=1 > 0.001737 AU (0.676 LD; 259,900 km) </td><td colspan=1 rowspan=1 > Moon </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 October 2017 – 10:20 </td><td class="highlighted"  colspan=1 rowspan=1 > 0.000582 AU (0.226 LD; 87,100 km) </td><td colspan=1 rowspan=1 > Earth </td></tr>
</table>
Question:
Did SX17 approach the Moon or Earth closer in 2017?
Answer:
The 2017 SX17 distance to the Earth was 0.000582 AU (0.226 LD), and to the Moon was 0.001737 (0.676 LD).