WordPress.org

Ready to get started?Download WordPress

Forums

Spell out the Date and Day (4 posts)

  1. Alan
    Member
    Posted 10 years ago #

    Instead of having the date formated as "4/14/2004" , how can I get it to format as "April 14, 2004"?
    <br>
    <pre>
    <?php the_date('','<h2>','</h2>'); ?>
    </pre>
    <br>
    Also, is there a way to get the Day of Week included?

  2. ByteWarrior
    Member
    Posted 10 years ago #

    Take a look in the admin interface (Options > Other options > date_format)
    The help is pretty straightforward. I think can add a day of the week...

  3. Alan
    Member
    Posted 10 years ago #

    Ha, I didn't even think to look in the administration panel. Thanks.

  4. Alan
    Member
    Posted 10 years ago #

    This code, l - F j, Y, outputs this: Monday - April 12, 2004.
    Again, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.