Title: Update Post with Date
Last modified: August 19, 2016

---

# Update Post with Date

 *  [AnimaliX](https://wordpress.org/support/users/animalix/)
 * (@animalix)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/)
 * Hi , ALL 🙂
    I need update DATE of POST to actual automatically with update post…
   what need change for it, please ?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633106)
 * Try editing your theme files and replacing `<?php the_date();?>` with `<?php 
   the_modified_date();?>` and `<?php the_time();?>` with `<?php the_modified_time();?
   >`
 * [http://codex.wordpress.org/Function_Reference/the_modified_date](http://codex.wordpress.org/Function_Reference/the_modified_date)
   
   [http://codex.wordpress.org/Function_Reference/the_modified_time](http://codex.wordpress.org/Function_Reference/the_modified_time)
 *  Thread Starter [AnimaliX](https://wordpress.org/support/users/animalix/)
 * (@animalix)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633134)
 * I testing this on default Twenty Ten 1.1 and only in archive, attachment and 
   functions.php have something with “date”.
 * default date/time format in functions.php is:
 *     ```
       function twentyten_posted_on() {
       ...some code...
       esc_attr( get_the_time() ),
       get_the_date()
       ```
   
 * and change into:
 *     ```
       function twentyten_posted_on() {
       ...some code...
       esc_attr( get_the_modified_time() ),
       get_the_modified_date()
       ```
   
 * but with no changes on web 🙁
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633140)
 * Remember to press CTRL and F5 simultaneously when viewing an updated page/site.
   Or try emptying your browser cache. This should ensure that your web browser 
   fetches a fresh copy of the page rather than serving up an out-dated copy from
   your own cache.
 * Also disable/deactivate any caching plugin(s).
 *  Thread Starter [AnimaliX](https://wordpress.org/support/users/animalix/)
 * (@animalix)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633153)
 * i testng all on online server and in my local private server (basic WP witn no
   plugins) …and with no luck 🙁
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633159)
 * The code changes you’ve posted should work. Have you actually updated any posts
   since you made the changes?
 *  Thread Starter [AnimaliX](https://wordpress.org/support/users/animalix/)
 * (@animalix)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633163)
 * i create two test posts:
 * TEST02 – “Published on: Aug 18, 2010 @ 23:09” (Last edited is same)
    TEST01 –“
   Published on: Aug 18, 2010 @ 22:44” BUT “Last edited by admin on August 18, 2010
   at 23:12”
 * on website is TEST02 still in first place 🙁
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633170)
 * The default listing order won’t change as that’s based on the original publication
   date – not the modified date. If you wanted to modify the listing order, you’d
   need to add a [custom query](http://codex.wordpress.org/Function_Reference/query_posts#Orderby_Parameters)
   to the relevant template file(s) based on the modified date.
 *  Thread Starter [AnimaliX](https://wordpress.org/support/users/animalix/)
 * (@animalix)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633182)
 * i find plugin “Custom Post Order”

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

The topic ‘Update Post with Date’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [AnimaliX](https://wordpress.org/support/users/animalix/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/update-post-with-date/#post-1633182)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
