Which sentence is punctuated correctly?

a. The alarm clock is set to wake me at 7:40
a. M.
b. The sun will rise at 5;15
a. M.
c. The rocket launches in 50 minutes, at 810
a. M.
d. Is "a quarter after three" the same as 3.15?
a