1

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?

Bill Greg
  • 11
  • 4
  • https://stackoverflow.com/questions/15397372/javascript-new-date-ordinal-st-nd-rd-th – Josh Lee Sep 18 '17 at 14:44
  • @JoshLee I tried using the examples on that forum. I tried one example taken from that forum, unfortunately didn't work well. Because everytime I refresh instead of 20th, it sometimes show 20th then 20rd then 20st... it doesnt stay on 20th... – Bill Greg Sep 20 '17 at 09:08
  • This question is NOT a duplicate of the linked question in the banner. This question is specifically about [tag:ordinal] `st` `nd` as in 1st or 2nd. As such, I'm nominating this question to be reopened. – TheMaster May 26 '18 at 11:59

0 Answers0