On the same day it is 12 hours
12am is midnight. 12pm is noon.
No such time as 12 am !!!! Do you mean 12 midnight or 12 noon??? 'am' are the Latin initials for 'Ante Meridian' ; Before Noon. If it is midnight or noon it is NOT before or after noon. To answer your question, assuming you mean '12 midnight', then . from 5 pm to 12 midnight it is 7 hours. NB If you mean 12 noon then from 5 pm to the following 12 noon , it is 19 hours.
Strictly speaking, there is no 1200 PM. There's 12 noon and 12 midnight. 12 noon is 1200 hours.
There is no such time as 1200 am: there is 12 noon and 12 midnight. The question cannot, therefore, be answered.
Technically, 12 PM doesn't exist. It's either 12 noon (3 hours) or 12 midnight (15 hours).
AM is from midnight to noon and PM is from noon to midnight. AM and PM are twelve hours each, adding up to twenty-four hours.
Midnight to noon is 12 hours.
From midnight (am) to Noon (pm) is 12 hours.
12am is midnight. 12pm is noon.
No such time as 12 am !!!! Do you mean 12 midnight or 12 noon??? 'am' are the Latin initials for 'Ante Meridian' ; Before Noon. If it is midnight or noon it is NOT before or after noon. To answer your question, assuming you mean '12 midnight', then . from 5 pm to 12 midnight it is 7 hours. NB If you mean 12 noon then from 5 pm to the following 12 noon , it is 19 hours.
From midnight (am) to Noon (pm) is 12 hours.
Technically, 12 AM doesn't exist. We refer to 12 noon or 12 midnight. From 6 AM, it is six hours till noon, and eighteen hours till midnight.
There are 12 hours as am and 12 hours as pm. This in total makes 24 hours a day. for 24 hour time, from 12 midnight to 12 noon it is am. Then pm hours start from 12 noon to just before 12 midnight. The change from am to pm is in one moment.
A normal clock has twelve hours and it goes through two cycles of that period every day. There are occasions when you need to know whether it the time referred to is in the fist cycle (midnight to noon = am) or the second (noon to midnight = pm).
pm
Number of minutes since midnight = 9*number of minutes since noon. So number of minutes since midnight = 9/(9+1)*number of minutes between midnight and noon. = 0.9*number of minutes between midnight and noon. = 0.9*time between midnight and noon. = 0.9*12 hours. = 10.8 hours. = 10 hours and 0.8*60 minutes = 10 hours and 48 minutes. So the time is 10:48 am
No such time as 12 pm . It either 12 noon or 12 midnight. 'pm' are the initials for the Latin words ' post meridian', which in modern English means 'after noon'. If the time is 12 noon, or 12 midnight it is neither 'am' nor 'pm'. However, if you mean 12 noon to 2;00 am, the length of time is 14 hours. Also if the time is 12 midnight, then to 2;00am the time is 2 hours.