Added AM/PM Functionality