Human readable date

Hi all
Does anyone have a solution for adding the the correct suffix to a date?

for example if its the 1st of the month my date variable will equal 1 and my suffix variable will equal “st” and if it was the 2nd, of the month my date variable would equal 2 and my suffix variable woluld equal “nd” and so on…

I dont really want to have to define all the variations and i’m sure i won’t have to…so is there a better way so the date variable (anything from 1-31) will always be correctly suffixed with “st” “nd” “rd” or “th”