get the post_date of ID July 18, 2022 by Tarik Billa You may please use <?php $pfx_date = get_the_date( $format, $post_id ); ?> to get the date