Thanks to visit codestin.com
Credit goes to strftimer.com

strftimer

A Ruby strftime generator

Enter a date in the format you need mytime.strftime("")

ordinalize method available with ActiveSupport