Dear Student,
just learn this rhyme:
Thirty, days hath September,
April, June and November.
All the rest have thirty-one,
February makes a little exception;
Which hath but twenty-eight in fine,
Till leap year gives it twenty-nine.
Yours sincerely,
Teacher.