We can't use o'clock with a.m. or p.m. literally. But can I use " it's nine o'clock a.m." verbally?