Title: Update post_date into the future
Last modified: July 14, 2022

---

# Update post_date into the future

 *  [David](https://wordpress.org/support/users/loano1/)
 * (@loano1)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/update-post_date-into-the-future/)
 * What is the most elegant way in WordPress to update the post_date by 240 min 
   into the future? (Site uses a local time) Currently I use a rather complicated
   way with strtotime.
 * Thanks!
    -  This topic was modified 3 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  [alithewpdev](https://wordpress.org/support/users/alithewpdev/)
 * (@alithewpdev)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/update-post_date-into-the-future/#post-15826250)
 * Did you try WP future date post/page publish feature? Please find the mentioned
   section [here](https://monosnap.com/direct/kLzg7ohOmnL3bGA8k7z5yVdUbevLY0).
 *  Thread Starter [David](https://wordpress.org/support/users/loano1/)
 * (@loano1)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/update-post_date-into-the-future/#post-15826374)
 * Thanks for your answer but I need to auto update hundreds of posts per day via
   code based on certain actions.

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

The topic ‘Update post_date into the future’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/loano1/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/update-post_date-into-the-future/#post-15826374)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
