So the sixtieth second of the sixtieth minute of the twenty-fourth hour of the day is 23:59:59, and the next second is the first second of the first minute of the first hour of the next day, i.e. 00:00:00.
*** APPLAUDS *** Well done for making that observation its exactly how a clock displays it.