Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
If you've been modifying the publish date, you could look in the wp_posts table for posts where the parent_id is the ID of the post you're looking at. The first revision is the oldest one WP has saved. But, if you are only saving a limited number of revisions and you've exceeded that, you won't be able to tell the initial publish date because that revision will already have been removed.
@TomJNowell: I need the creation date. I keep all the revision, but I edit the publish date when I update a post. Can I find the creation date of a post in the wp_posts table, post_date and post_modified fields?
wp_posts
table for posts where theparent_id
is the ID of the post you're looking at. The first revision is the oldest one WP has saved. But, if you are only saving a limited number of revisions and you've exceeded that, you won't be able to tell the initial publish date because that revision will already have been removed.