date handling: handle "AM"/"PM" on time