WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Funky Date Format (6 posts)

  1. DTSports
    Member
    Posted 6 years ago #

    Hey there,

    Does anybody here know how to copy the date and time format used on this blog: http://www.thevancouverite.com/

    Thanks,

    DTS

  2. Cal
    Member
    Posted 6 years ago #

    just change the format

    check this http://us3.php.net/date

  3. DTSports
    Member
    Posted 6 years ago #

    Sorry, I don't see anything on that link that shows me how to get the date to read:

    "IT'S MONDAY SEPTEMBER THE 10 AROUND 7:39AM AND"

    [snipe moderated]

  4. Cal
    Member
    Posted 6 years ago #

    yes I did, sorry for not being more explicit

    IT'S <?php the_time('l') ?> <?php the_time('F') ?> THE <?php the_time('d') ?>

    That should give you something like

    IT'S MONDAY SEPTEMBER THE 10

    Put this code into required location... ie. index.php

    hope that helps

  5. whooami
    Member
    Posted 6 years ago #

    sigh.

    Its <?php the_date('l') ?> <?php the_date('F') ?> the <?php the_date('j') ?> around <?php the_date('g:i A') ?>

    if thats not exactly right, play with it. [snipe moderated].

  6. DTSports
    Member
    Posted 6 years ago #

    Thanks themesbycal, appreciate the fuller explanation. Being somewhat new to this, it can be overly intimidating to look at pages of code without knowing exactly what you're looking for. So thank you.

    [valueless snipe moderated]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.