[resolved] How to add today's date to navbar (3 posts)

  1. cnymike
    Posted 8 years ago #

    This should be easy but I cannot discover how to do this easily.

    I've got a top navbar with a lot of extra space. I'd like to add the current date and possibly the time.

    So it would look vaguely like...

    Home About Blog Today is: July 29, 2008

    How would I go about doing that?

  2. educationthemes
    Posted 8 years ago #

    Try adding this

    <?php echo date("j F Y"); ?>

    which will give you this

    28 July 2008

  3. flatsilver
    Posted 7 years ago #

    hi, i was wondering after i insert this code,
    how do i position it? (style it?)
    i want to move it to the bottom right of the header,
    and make the numbers and letters white.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.