Use:
global $comment;
$timestamp = strtotime("{$comment->comment_date_gmt} GMT");
Regards.
Related Posts:
- Disable comments on all posts/pages
- Stop WordPress redirecting comment-page-1 to the post page?
- Importing old Disqus comments into WordPress
- How to add a class to the comment submit button?
- Would switching to InnoDB from MyISAM improve performance of comments table?
- Linking to Page Showing Only Comments Without Parent Post
- Post Comments using WP REST API v2 in WordPress
- Show content only if member left a comment
- Using filter to add additional fields to comment_form()
- Disable wordpress comments API
- List Recent Comments from Across a Multi-site Network
- Comments waiting but no comments found
- Programmatically block commenting by restricting view of comment form
- Disqus over the default commenting engine, what are some pros and cons?
- Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins
- How To Remove The “Click here to cancel reply” Link From The WordPress Comment Form
- Plugin from WordPress.com for comment notification…available? [closed]
- How to add text to comment form #content textarea?
- Get most active users sort by comment count
- Passing arguments to wp_list_comments callback function
- What are the additional fields in wp_comments used for?
- comments_template not working correcly in custom template files
- How can I highlight admin comments?
- Why are my comments closed?
- Block comments from search engine indexing
- Create a “Reject” action for comments?
- How to change style of Disqus comment count on main page
- Adding another arg to comments_popup_link
- Exclude Duplicate Posts in this SELECT Query
- List User Comments on User Profile BuddyPress [closed]
- Hold comments for moderation only if user is not logged in
- How to add attributes to the comment form tag?
- Loading post comments after clicking a button
- Follow-up Comments Notification Without a Plug-in
- How to return 404 when called edit-comments.php?
- oEmbed does not work for comments
- Ability to comment on tags that represent a certain “issue”
- Yoast makes comment_reply_link function output plain link to comment instead of reply link
- Do I need to deal with WordPress SQL Injection
- using comments_template() in custom single-portfolio.php
- Same email for all comments
- Comment Form – E-mail Not Required!
- Get a total count for all comments and display result
- Notification if Comment Author Field is left empty. E.g. change input border colour
- List comments received by every posts of an specific author
- How do I reply to comments from admin panel on a tablet PC?
- Disable comments for a user? [closed]
- Polls with respective comments?
- Why does akismet prevent jetpack comments from appearing in my moderation queue? [closed]
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- Ajax submit comments
- How do I automatically insert some text in the comment textbox on submit?
- I cannot view the comments
- In wp_list_comments comment dates won’t work?
- Only show own comments in admin panel
- Where are comment ratings stored?
- how to SELECT for the current post id?
- Replying to comments
- Custom comment link
- How to display the user’s comment status on the front end
- get_comments_number() vs. get_post_field( ‘comment_count’, ID )
- unsetting required fields in the comment reply form
- Problem code and show comments
- Comments turned off, but ‘Leave a reply’ link still there [duplicate]
- How to output number of comments with link to comments
- Highlight comments made by registered users of the site
- How do I make Twenty Ten display comments on the home page?
- It doesn’t matter if I have more than one comment. get_comments_number still equal to one?
- Simple spam check for valid domain in commenter’s email address
- Allowing WordPress.org/com accounts on a self-hosted install
- How to remove the “comments” bit that appears next to or below the posts
- Sort post comments from newest to oldest in pagination
- Post comments don’t show
- Update post “A” on comment submition on post “B”
- Using Disqus with headless WordPress setup?
- Attaching author tag to the comment
- Comments counter only for Authors Posts
- Pre- Approved Comment Capability
- Delete comments function
- Comment form not working
- How to show a “Comments Are Closed” message on posts where comments have been closed?
- Comments pagination on author page
- Comments page id wp_list_comments
- Inserting comments via a procedure
- spacebar is not working in input and textarea
- wp-editor-area textarea disapear on cancel-comment-reply-link click
- Conditionally process comments while ignoring replies
- Required Field for Comment parent only?
- Can I use WP comments for custom tables?
- How can I have a full comments.php for an easy editing of all its aspects?
- Transfer comments from one domain to another
- WordPress is adding above html
- Passing user meta through comment form
- writing a plugin, how to disable the comment form altogether?
- What filter or action to replace comments or add new comment system
- Function to get a list of all comments on 1 post [closed]
- Display DISQUS on homepage
- Auto delete WordPress comments
- TinyMCE in comment reply form showing toolbar but can’t edit reply
- Add pending for reply comment in console WordPress