Question: after 12 am is it morning?
Answer: 12am is the exact moment the 12th hour of the morning finishes (am), and similarly for pm. Therefor 12am is midday and pm would start straight after. The confusion has started since the invention of the digital clock.