http://www.perlmonks.org?node_id=898512


in reply to Abbreviation with day numbers

The term of art you need for this is "ordinal numbers", or, more specifcally, "ordinal indicator". Given that, the module you might want is Lingua::EN::Numbers::Ordinate (if you're using English, of course)