The method used for remembering the number of days in the months of the Gregorian calendars is known as
knuckle mnemonic
The mnemonic is done by counting on the knuckles of hand to remember the numbers of days of the months. The counting of knuckles as 31 days, depressions between knuckles as 30 or 28/29 days for the month of February.