There are dates in the first column of the table:
<table> <tr> <td>01.12.2013 21:08:52</td> <td>...</td> </tr> <tr> <td>19.10.2014 1:13:12</td> <td>...</td> </tr> <tr> <td>19.10.2014 1:53:12</td> <td>...</td> </tr> </table> It is necessary to show only the last by date (dmg, without comparing time) lines.
Update
I am not a student and the task is not educational, everything is for understanding and comes down to the practice of working with parsing and date on JS.
$('table > tbody > tr > td:nth-child(1)').each(function() { if($(this).text() != last){ $(this).closest("tr").hide(); } }); How to parse dates optimally and compare?