Question: is it 12 pm or 12 am?
Answer: 12:00 pm is 12 noon, while 12 midnight is 12 am! It is neither of the two. If you want to avoid the common ambiguity and confusion that is the source of this question, be explicit and say 12:00 noon or 12:00 midnight. Noon is usually 12 pm, simply by convention.