the_date() and the_time() functions display actual date an time instead of published date and time
the_date(): By default, it will echo the date of the post in the format F j, Y, so if the post was published on 20 November 2018, it would echo November 20, 2018. get_the_date(): This fetches the date and doesn’t echo it out. To echo it, you’d use echo get_the_date(), which gives you the same … Read more