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