st, rd, th... date in ordinal form javascript

45 Views Asked by At

I'm trying to get a program to display on this format: (example Tuesday, 19th of September 2017) but I'm getting hard time in putting the date in ordinal form like st,rd,th. Anyone can help me please?

0

There are 0 best solutions below