{"id":8798,"date":"2014-09-10T08:16:23","date_gmt":"2014-09-10T08:16:23","guid":{"rendered":"http:\/\/2slick.com\/web\/?p=8798"},"modified":"2014-09-10T08:19:45","modified_gmt":"2014-09-10T08:19:45","slug":"how-to-add-st-th-or-nd-to-dates","status":"publish","type":"post","link":"https:\/\/2slick.com\/web\/how-to-add-st-th-or-nd-to-dates\/affordablewebsitestips\/tutorials","title":{"rendered":"How to add &#8216;st, &#8216;th&#8217;, or &#8216;nd&#8217; to dates"},"content":{"rendered":"<p>To add 'st', 'th', 'nd' or any other unicode to your text, you would use subscripts or superscripts HTML markup.<\/p>\n<h3>Superscripts<\/h3>\n<p>An example of a superscript would be the 'th' in a date such as the 4<sup>th<\/sup> of July.<br \/>\nYou can create a superscript by using the tags <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"HTML\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;HTML&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard1\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=1&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\"><span style=\"color: #009900;\">&lt;<span style=\"color: #000000; font-weight: bold;\">sup<\/span>&gt;&lt;<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #000000; font-weight: bold;\">sup<\/span>&gt;<\/span><\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE--><\/p>\n<h3>Subscripts<\/h3>\n<p>An example of a subscript would be the 'hex' in a mathematical expression C<sub>hex<\/sub>.<br \/>\nYou can create a subscript by using the tags <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"HTML\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;HTML&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard2\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=2&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\"><span style=\"color: #009900;\">&lt;<span style=\"color: #000000; font-weight: bold;\">sub<\/span>&gt;&lt;<span style=\"color: #66cc66;\">\/<\/span><span style=\"color: #000000; font-weight: bold;\">sub<\/span>&gt;<\/span><\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add &#8216;st&#8217;, &#8216;th&#8217;, &#8216;nd&#8217; or any other unicode to your text, you would use subscripts or superscripts HTML markup. Superscripts An example of a superscript would be the &#8216;th&#8217; in a date such as the 4th of July. You can create a superscript by using the tags &nbsp;HTML&nbsp;|&nbsp;&nbsp;copy&nbsp;code&nbsp;|?&nbsp;1&lt;sup&gt;&lt;\/sup&gt; Subscripts An example of a subscript [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[402,746,745,747],"class_list":["post-8798","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-html","tag-subscripts","tag-superscripts","tag-unicode"],"_links":{"self":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/8798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/comments?post=8798"}],"version-history":[{"count":4,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/8798\/revisions"}],"predecessor-version":[{"id":8802,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/8798\/revisions\/8802"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media\/7541"}],"wp:attachment":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media?parent=8798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/categories?post=8798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/tags?post=8798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}