Title: DATE problem
Last modified: August 20, 2016

---

# DATE problem

 *  [kbalia8](https://wordpress.org/support/users/kbalia8/)
 * (@kbalia8)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/date-problem-4/)
 * Hi!
 * I have a problem with the date of the posts.
    This is the php code of the relevant
   part: <p class=”date”><?php the_time() ?> _<?php \_e( ‘in’, ‘buddypress’ ) ?>–
   after this, you can only see the time of the creation of the post (pl.: 8:55)._
 * When I tried to replace the time with a date function it didnt work.
 * <p class=”date”><?php getdate(“Y.m.d H:i”) ?> _<?php \_e( ‘in’, ‘buddypress’ )?
   >_
 * How can I solve this problem?
 * Thanks!

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

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/date-problem-4/#post-2316622)
 * Try it with [the_date()](http://codex.wordpress.org/Function_Reference/the_date)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/date-problem-4/#post-2316624)
 * if using php functions, read up on how they work;
    for instance:
 * [http://php.net/manual/en/function.getdate.php](http://php.net/manual/en/function.getdate.php)
 * same for wordpress functions:
 * [http://codex.wordpress.org/Function_Reference/the_time](http://codex.wordpress.org/Function_Reference/the_time)

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

The topic ‘DATE problem’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/date-problem-4/#post-2316624)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
