Not sure what the terminology is so been unable to search the problem. I am wishing to extract the day from a datetime query (SQL), asp.net, c# etc and then display as in the following examples.
- Date: 21/01/2019(UK) or 01/21/2019(US) display as 21st instead of 21
- Date: 25/02/2018(UK) or 02/25/2018(US) display as 25th.
I have no problem extracting the day, I just need to know if it is possible to use the syntax as shown? Or what this syntax is even called?