Is hagrid older than mcgonagall?

I googled hagrids birthday and I got 1928. But if you google mcgonagalls birthday you get 1935.

I know that mcgonagall isn't meant to be as old as dumbledore but I guess I always pictured her being at least a few years older than hagrid. Are these dates accurate?