Clock am and pm

What is the formula to remove points at a.m. and p.m. on the clock and it shows am and pm

Using “a” does not show the dots for me.

Example:
$df(h:mm a)$