compressed x p x a time format to xp xa where a is AM and P is PM and x is a number