Question: how do you write midnight in 12 hour clock?
Answer: The American Heritage Dictionary of the English Language states "By convention, 12 AM denotes midnight and 12 PM denotes noon. Because of the potential for confusion, it is advisable to use 12 noon and 12 midnight."