Question: at 12 am what day is it?
Answer: By convention, 12 am refers to midnight at the start of the specified day (00:00 on the 24 hour clock) and 12 pm to midnight at the end of that day (24:00 on the 24 hour clock).