
Anonymous Community User asked a question.
Calc to convert number to a Date of the Month
Hi All, I feel this is quite a simple one but I'm brand new to Javascript but am now struggling with this one. I'm wanting to simply enter a 'Payment Date', and then a calculation field to take that number and display it as an ordinal date. ie '1 -> 1st' or '2 -> 2nd' etcFor some reason, the current calculation displays 15 as the 1st and I don't know why. See image below. Does anyone have any suggestions?