i have tages in word document and i am replacing that tag with my textbox values.I have date tag also in word document currently i am getting date in format like 11th February 2015, but i want 'th' on head of '11'. for this i am using below code
string date1 =string.Format(datetime.ToString("dd{0} - MMMM, yyyy"), sup + GetSuffix(datetime.Day.ToString()) + /sup);
result i am getting is 11th February 2015.
Please Help.
- Edited by Jon Joe Wednesday, February 18, 2015 10:04 AM