get post time in wordpress code example
Example: wordpress get post time
// Retrieve the time at which the post was written.
get_the_time( string $format = '', int|WP_Post $post = null )
// Retrieve the time at which the post was written.
get_the_time( string $format = '', int|WP_Post $post = null )