“AM” is not a point in time by itself, so “how long ago was am” isn’t a well- formed time question.

If you mean “this morning at X AM” , you’d need to specify the exact hour, like 8 AM or 10:30 AM, and the date, so we can count how many hours or days ago it was. If you mean the abbreviation “AM” itself , it doesn’t have an age in hours; it’s just a label meaning “before midday” for any time between midnight and noon.

Tell me the full time you have in mind (for example: “Today at 9 AM” or “January 10, 2026 at 7 AM”), and I can work out how long ago that was.