format post date wordpress wp_query code example Example: date format in wordpress post Posted on <?php the_time( 'l, F jS, Y' ); ?>.