Implementing AM/PM option