Noon and midnight should always be spelled out.
You should never use "in the morning" or "in the afternoon" to replace a.m. or p.m.
Imported from external platform