There are 24 hours in a day. The first 12 of them are called "am" (from the Latin ante meridiem, meaning "before midday"), the last 12 are called "pm" (from the Latin post meridiem, "after midday").
Of cause if you use a 24 hour clock the terms "am" and "pm" are not needed.
12 hours
12 hours
12 Hours ! There are 12 hours in the AM and 12 hours in the PM !
From midnight (am) to Noon (pm) is 12 hours.
2.5 hours
2 hours.
6 hours.
7 and a half hours
21 hours
2 hours
3 hours
There are 7 hours from 3 pm to 10 pm.