2015-05-14 132 views
0

我的輸出格式日期是14th May 2015如何在使用c#的日期向上移動st,nd,rd?

但我想在14th的輸出應該提高一點點使用C#。

StrBuilder.AppendFormat(@"<tr><td>Delivery Date & Time</td><td align='left' style='text-align:left;'>- {0}</td></tr>", (string.IsNullOrEmpty(txtDeliveryDate.Text) ? "" : (string.IsNullOrEmpty(txtETime.Text) ? Common.ConvertValidDateFormat(txtDeliveryDate.Text).ToString("dd MMM yyyy") : Common.ConvertValidDateFormat(txtDeliveryDate.Text).ToString("dd MMM yyyy") + " at " + txtETime.Text))); 
+1

使用標籤 – captainsac

+0

我想,也可是不來的 –

+0

可能重複(HTTP [標僅在CSS?] //stackoverflow.com/questions/501671/superscript-in-css-only) – HaveNoDisplayName

回答

相關問題