how to get day month and year from wp_post_object? August 20, 2022 by Tarik Billa Try it like this: echo get_the_time('j M Y', $_GET['p_id']); References: get_the_time