I found this.
"Is midnight 12 a.m. or 12 p.m.? (FAQ - Time)
There is no confusion when using the words 12 noon (or mid-day) and 12 midnight, although the use of 12 midnight can raise the question of 'which day?'. To avoid confusion in, for example, an insurance certificate, it is always better...