Is there way to display the time of a specific post given its ID? I assume I would have to use something like <?php the_time('j F Y'); ?>, but this alone would not call the time of a post with a particular ID.
Context: I have created a duplicate post of an old post, and I want the duplicate post to display the time that the old post was created.