I dont understand Telling AM vs PM is easy: if the time is greater than or equal to 12, it’s PM. Less than 12, it’s AM.