Title: Problem with post date
Last modified: August 22, 2016

---

# Problem with post date

 *  Resolved [Zmicierok](https://wordpress.org/support/users/zmicierok/)
 * (@zmicierok)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-post-date-3/)
 * Hi. I’m using this widget to output latest posts in a sidebar. It works fine 
   except one simple problem – I tried to insert post date not only years, months
   and days but hours and minutes. Through widget panel it doesn’t work, so I tried
   to add code to gsy-ajax-recent-posts.php file – `$post_date = date( "d.m.Y H:
   i", mktime(0,0,0,date("m"), date("d"), date("Y")) );`. Unfortunately output time
   does’t work (shows 00:00).
 * Could someone help me? Thanks in advance.
 * [https://wordpress.org/plugins/gsy-ajax-recent-posts/](https://wordpress.org/plugins/gsy-ajax-recent-posts/)

The topic ‘Problem with post date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gsy-ajax-recent-posts_fefefe.svg)
 * [GSY Ajax Recent Posts](https://wordpress.org/plugins/gsy-ajax-recent-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/gsy-ajax-recent-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/gsy-ajax-recent-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gsy-ajax-recent-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gsy-ajax-recent-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Zmicierok](https://wordpress.org/support/users/zmicierok/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-post-date-3/)
 * Status: resolved