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