WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How get date (5 posts)

  1. Booo
    Member
    Posted 9 years ago #

    I want to show date on the site:

    Example:
    <table width="100%">
    <tr>
    <td>Today: <b>Current Time</b></td>
    </tr>
    </table>

    Result:
    <table width="100%">
    <tr>
    <td>Today: <b>July 12th, 2005</b></td>
    </tr>
    </table>

    How this to make?
    Thanks.

  2. Michael Bishop

    Posted 9 years ago #

    http://codex.wordpress.org/Template_Tags/the_date

    http://codex.wordpress.org/Template_Tags, has a few other date and time options listed amongst the other tags.

  3. Booo
    Member
    Posted 9 years ago #

    Date not in Post! Date in the table.

  4. Kafkaesqui

    Posted 9 years ago #

    If you're just trying to get today's date:

    <?php echo date('F jS, Y'); ?>

  5. Booo
    Member
    Posted 9 years ago #

    This is it !
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags