is 12 am in the morning or afternoon?
There are no standards established for the meaning of 12am and 12pm. It is often said that 12am Monday is midnight on Monday morning and 12pm is midday. This puts all the times beginning with 12 and ending with am in the same one-hour block, similarly with those ending with pm.