I'm trying to get the original published date and time from a post.
Normally you'd say I can use
$the_post = get_post($post_ID); $dateline = $the_post->post_date;
But when updating a post the post_ID changes and the post_date I get is from the revision, and not from the published post.
I've tried to get arround this with the
but sadly have no clue how to go from there...
Is there a way to get the original publish date from the post on a revision?
Thanks and best regard,