Get date format of dd to 1st, 2nd, 3rd,5th

1
Hi, We were working on a project where we just need to show the date('dd') in format of 1st, 2nd, 3rd format rather than just 01.02,03. Is there a way to do this using format date time and what would be the best way to do this? Thanks, Savan Vyas
asked
1 answers
1

You need to create a Java action for this which can format the date into 1st, 2nd, 3rd etc. There are several examples on how to do this on StackOverflow

Check Mendix documentation about adding java actions

I hope this helps =)

answered