But you can also say: "Do you know what 11:59PM means? 12:00PM is one minute after that"
Midday and midnight are the points at which AM/PM change and you can't logically differentiate them by appending AM or PM. You just have to know the arbitrary cultural convention that midday is PM.