I needed a long date with suffix st,nd,rd,th to the date. Could not find much of an option on searching. So came up with a simple logic to have the suffix added. Hope it helps others who need it. Code is self explanatory.
If there is a better way, let me know.