Forums

Date modification (6 posts)

  1. Sazuka
    Member
    Posted 4 years ago #

    Good day,

    I just installed this great software and i am trying to find a solution how i can edit the date to this format, as example:

    "By Author on February 13th, 2007"

  2. cemiotika
    Member
    Posted 4 years ago #

    This will help,


    http://codex.wordpress.org/Formatting_Date_and_Time

    Cheerz!,
    Hope this can Help!,

  3. Sazuka
    Member
    Posted 4 years ago #

    The problem is showing the "rd" "st" "th" behind the day date..

  4. cemiotika
    Member
    Posted 4 years ago #

    My date format is this:

    the_time('d/m/Y')
    Hi there!,

    This shows the international date format:

    23/09/2007

    for english format:

    the_time('m/d/Y')

    Cheerz!,
    Hope this can Help!,

  5. Sazuka
    Member
    Posted 4 years ago #

    hmm, i guess i described my problem wrong. I want that it will show the date like this: "February 13th, 2007"

    The nifty part is how the script will decide if it should add "th", "st" or "rd" behind the day date.

  6. whooami
    Member
    Posted 4 years ago #

    February 13th, 2007 =

    <?php the_time('F jS, Y') ?>

    just like is shown in the default theme.

Topic Closed

This topic has been closed to new replies.

About this Topic