“AM” stands for the Latin phrase Ante Meridiem—which means “before noon”—and “PM” stands for Post Meridiem: “after noon.” Although digital clocks routinely label noon “12:00 PM” you should avoid this expression not only because it is incorrect, but because many people will imagine you are talking about midnight instead. The same goes for “12:00 AM.” You can say or write “twelve noon,” “noon sharp,” or “exactly at noon” when you want to designate a precise time.
It is now rare to see periods placed after these abbreviations as in “A.M.”; but in formal writing it is still preferable to capitalize them, though the lower-case “am” and “pm” are now so popular they are not likely to get you into trouble.
Occasionally computer programs encourage you to write “AM” and “PM” without a space before them, but others will misread your data if you omit the space. The nonstandard habit of omitting the space is spreading rapidly, and should be avoided in formal writing.
The new edition of Common Errors in English Usage is now shipping,
and it makes a great gift. When you order 5–9 copies and use the coupon
code FIFTEEN, you pay only $13.48 each. Order 10 or more for just
$12.15 each. All with free shipping in the US. Single-copy shoppers can
still use the coupon code and get the new edition for $15.