text: if I remember right p.m stands for post meridian or prime meridian and a.m stands for ante meridian.  Don't quote me on it though.  I will check to make sure  but I'm pretty sure these are the meanings.  Ante is actually how it is spelled  because it's origination is Latin