Title: Show current date
Last modified: August 19, 2016

---

# Show current date

 *  Resolved [Corse](https://wordpress.org/support/users/corse/)
 * (@corse)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/show-current-date/)
 * Hello,
 * I want to add the current date in my right navbar. I know how to use the echo
   date function. But i only can use the the_time function, becouse it need to be
   into dutch date format.
 * When i place <?php the_time(‘j F Y’); ?> it only shows the last post date.
 * What do it need to do to make in show the current date?
 * Please help.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 8 months ago](https://wordpress.org/support/topic/show-current-date/#post-872064)
 * `<?php echo date('j F Y'); ?>`
 *  Thread Starter [Corse](https://wordpress.org/support/users/corse/)
 * (@corse)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/show-current-date/#post-872068)
 * The <?php echo date(‘j F Y’); ?> function shows the date in English format. The
   the_time function shows it on **my website** in Dutch. So i need to use the the_time
   function. But how to make it show the current date.
 * [http://www.alfablog.nl](http://www.alfablog.nl)
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 8 months ago](https://wordpress.org/support/topic/show-current-date/#post-872074)
 * OH! Okay. Missed that bit.
 * `<?php echo date_i18n('j F Y', time()); ?>`
 *  Thread Starter [Corse](https://wordpress.org/support/users/corse/)
 * (@corse)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/show-current-date/#post-872084)
 * Yes it works..
 * Thank you!
 *  [ashzul](https://wordpress.org/support/users/ashzul/)
 * (@ashzul)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/show-current-date/#post-872273)
 * I want to show my current date in Malay, what function should i use?
 *  [flatsilver](https://wordpress.org/support/users/flatsilver/)
 * (@flatsilver)
 * [17 years ago](https://wordpress.org/support/topic/show-current-date/#post-872361)
 * once i add the code, how do i move it / style it to where i need it to be? and
   i need the letters white instead of black.
    thank you
 *  [pioneerka](https://wordpress.org/support/users/pioneerka/)
 * (@pioneerka)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/show-current-date/#post-872364)
 * > I want to show my current date in Malay, what function should i use?
 * the same one
    `<?php echo date_i18n('j F Y', time()); ?>` it displays date in
   your wp’s language
 *  [pioneerka](https://wordpress.org/support/users/pioneerka/)
 * (@pioneerka)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/show-current-date/#post-872365)
 * > how do i move it / style it to where i need it to be?
 * you should use somethimg like this:
    `<span class="current-date"><?php echo date_i18n('
   j F Y', time()); ?></span>` now you can play with your style.css. just add the
   following lines:
 *     ```
       .current-date {
             color: #fff;
       }
       ```
   
 * it should work.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Show current date’ is closed to new replies.

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [the_date](https://wordpress.org/support/topic-tag/the_date/)
 * [the_time](https://wordpress.org/support/topic-tag/the_time/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [pioneerka](https://wordpress.org/support/users/pioneerka/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/show-current-date/#post-872365)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
