Title: get current datetime problem with cache
Last modified: May 26, 2017

---

# get current datetime problem with cache

 *  [dannyalfonzov](https://wordpress.org/support/users/dannyalfonzov/)
 * (@dannyalfonzov)
 * [9 years ago](https://wordpress.org/support/topic/get-current-datetime-problem-with-cache/)
 * Hello guys, we have a very important issue,
 * $current_time = date( ‘H:i’, current_time( ‘timestamp’, 0 ) );
 * this do not return the current time whem total-cache plugin is active
 * How can we solve this? Do you have a function that you can use to avoid caching
   there?

Viewing 1 replies (of 1 total)

 *  Anonymous User 15141300
 * (@anonymized-15141300)
 * [9 years ago](https://wordpress.org/support/topic/get-current-datetime-problem-with-cache/#post-9176190)
 * I have the same question. Anyone that can help us?

Viewing 1 replies (of 1 total)

The topic ‘get current datetime problem with cache’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 15141300
 * Last activity: [9 years ago](https://wordpress.org/support/topic/get-current-datetime-problem-with-cache/#post-9176190)
 * Status: not resolved