Are these times a. m or p. m.

9 minutes to 12 noon
8 minutes to midnight

9 minutes to 12 noon = A.M.

8 minutes to midnight = P.M.