<?php echo get_the_date( 'd / M / Y' ); ?>
Posted on <?php the_time( 'l, F jS, Y' ); ?>.
// There are multiple ways to show the post published date in WordPress, lets see some:
<?php
$post_date = get_the_date( 'D M j' );
echo $post_date; //Place this line to the exact place you want to show the date
?>
// I love this method:
<?php the_date(); //Isn't it simple? ?>
// There is another one
<?php echo get_the_date(); ?>
get_the_time( string $format = '', int|WP_Post $post = null );