{"id":1365,"date":"2021-07-23T07:35:52","date_gmt":"2021-07-23T12:35:52","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=1365"},"modified":"2021-11-03T07:12:38","modified_gmt":"2021-11-03T12:12:38","slug":"wordpress-comment-date","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/","title":{"rendered":"How to Change WordPress Comment Date Format?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/#how_to_change_wordpress_comment_date_submitted\" >How to Change WordPress Comment Date Submitted?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/#how_to_change_wordpress_comments_date_ordering\" >How to Change WordPress Comments Date Ordering?<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>WordPress comments are governed by the same setting as controls dates in all parts of the system, and can be accessed via the WP admin panel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  Settings -&gt; General<\/code><\/pre>\n\n\n\n<p>Once there, scroll down to the Date Format section, where there are numerous choices available as defaults and a custom field where you can specify the date in exactly the format you prefer. This includes the Month, Day, Day of the Week and Year as well as separators, such as commas, dashes or slashes.<\/p>\n\n\n\n<p>The WordPress comment date year can be either 4 digits or 2 digits:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  Y - 4 digits - example 2020\n  y - 2 digits - example 20<\/code><\/pre>\n\n\n\n<p>The month can be a number from 1-12, with or without leading zeros or can be the full name of the month, or 3 letter shortened version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  F - Full month name - example January\n  M - 3 letter month name - example Jan\n  m - number with leading zeros - 01\n  n - number with no leading zeros - 1<\/code><\/pre>\n\n\n\n<p>Day of the week can be spelled out as either the full name of the day or three letter shortened version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  l - (lower case L) - Full day of the week name - example Thursday\n  D -                - 3 letter day of the week name -     Thu<\/code><\/pre>\n\n\n\n<p>Day of the month can be numeric (1-31) and can include leading zeros, if desired. The English suffix can be tacked on at the end for a bit of beautification as well:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  d - numeric with leading zeros - example 09\n  j - numeric without leading zeros - 9\n  S - suffix (st, nd, rd or th) - 9th<\/code><\/pre>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;the \u201cS\u201d suffix needs to be used in conjunction with either the d or the j specifier. So, in the example above, you would use \u201cjS\u201d to get 9th, or \u201cdS\u201d to get 09th.<\/p>\n\n\n\n<p>An example of the full format string could be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  l, F jS, Y<\/code><\/pre>\n\n\n\n<p>This would result in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  Friday, September 24th, 2004<\/code><\/pre>\n\n\n\n<p>For additional information on date formats (which happen to be derived from the PHP functions surrounding date and time), check out the wordpress.org article regarding:&nbsp;<a href=\"https:\/\/wordpress.org\/support\/article\/formatting-date-and-time\/\">Formatting Date and Time<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how_to_change_wordpress_comment_date_submitted\"><span class=\"ez-toc-section\" id=\"how_to_change_wordpress_comment_date_submitted\"><\/span>How to Change WordPress Comment Date Submitted?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There could be occasions when you would like to alter the date a comment shows as submitted, either moving it back or forward in time. Since WordPress admins can edit comments, this change isn\u2019t terribly difficult.<\/p>\n\n\n\n<p>Starting in the WordPress admin panel, open comments, then navigate to the comment you\u2019d like to adjust before clicking on Edit.<\/p>\n\n\n\n<p>There\u2019s an entire section about the comment called Status. Within that box you can adjust whether a comment is Approved, Pending or Spam as well as setting the Submitted On date.<\/p>\n\n\n\n<p>Click on the Edit link next to the Submitted On date and time. This will give you the option to adjust the Submitted On date, as well as time, to whatever you choose.<\/p>\n\n\n\n<p>Click Update to save changes.<\/p>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;As with many database changes, it may not appear visible in your browser until after you\u2019ve cleared browser cache, any WordPress plugins cache and possibly web hosting caching.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how_to_change_wordpress_comments_date_ordering\"><span class=\"ez-toc-section\" id=\"how_to_change_wordpress_comments_date_ordering\"><\/span>How to Change WordPress Comments Date Ordering?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Comments in WordPress can easily be ordered so that either the newest display at the top of the list or the oldest display at the top, all without need for any plugins or code changes.<\/p>\n\n\n\n<p>Whether you\u2019d like comments displayed chronologically or reverse chronological, it\u2019s just one small change.<\/p>\n\n\n\n<p>To modify the comment date ordering behavior, go to WordPress admin and select:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  Settings -&gt; Discussion -&gt; Other Comment Settings<\/code><\/pre>\n\n\n\n<p>Look for the line:<\/p>\n\n\n\n<p>Comments should be displayed with the&nbsp;<em><\/em>_ comments at the top of each page<\/p>\n\n\n\n<p>There\u2019s a dropdown where you can select older or newer, depending on how you\u2019d like them to display.<\/p>\n\n\n\n<p>Then click Save Changes at the bottom of the page.<\/p>\n\n\n\n<p><strong>Note:<\/strong>\u00a0This will impact the display of all comments sitewide. Also, you may need to <a href=\"https:\/\/www.knownhost.com\/kb\/how-to-clear-your-dns-cache\/\">clear cache<\/a> in order for the change to appear in your browser.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress comments are governed by the same setting as controls dates in all parts of the system, and can be accessed via the WP admin panel: Once there, scroll down to the Date Format section, where there are numerous choices available as defaults and a custom field where you can specify the date in exactly [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[251,252,106],"class_list":["post-1365","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-blogs","tag-cms","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change WordPress Comment Date Format? - KnownHost<\/title>\n<meta name=\"description\" content=\"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change WordPress Comment Date Format? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-23T12:35:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-03T12:12:38+00:00\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"How to Change WordPress Comment Date Format?\",\"datePublished\":\"2021-07-23T12:35:52+00:00\",\"dateModified\":\"2021-11-03T12:12:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/\"},\"wordCount\":570,\"keywords\":[\"blogs\",\"cms\",\"wordpress\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/\",\"name\":\"How to Change WordPress Comment Date Format? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2021-07-23T12:35:52+00:00\",\"dateModified\":\"2021-11-03T12:12:38+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wordpress-comment-date\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change WordPress Comment Date Format?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change WordPress Comment Date Format? - KnownHost","description":"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/","og_locale":"en_US","og_type":"article","og_title":"How to Change WordPress Comment Date Format? - KnownHost","og_description":"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.","og_url":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/","og_site_name":"KnownHost","article_published_time":"2021-07-23T12:35:52+00:00","article_modified_time":"2021-11-03T12:12:38+00:00","author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"How to Change WordPress Comment Date Format?","datePublished":"2021-07-23T12:35:52+00:00","dateModified":"2021-11-03T12:12:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/"},"wordCount":570,"keywords":["blogs","cms","wordpress"],"articleSection":["WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/","url":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/","name":"How to Change WordPress Comment Date Format? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"datePublished":"2021-07-23T12:35:52+00:00","dateModified":"2021-11-03T12:12:38+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Follow this guide to learn more about how to change the date format on your KnownHost hosted WordPress comment.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/wordpress-comment-date\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Change WordPress Comment Date Format?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1365\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=1365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=1365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}