Title: Dates on Admin Dashboard
Last modified: August 18, 2016

---

# Dates on Admin Dashboard

 *  Resolved [doubledubs](https://wordpress.org/support/users/doubledubs/)
 * (@doubledubs)
 * [20 years ago](https://wordpress.org/support/topic/dates-on-admin-dashboard/)
 * Right now under “Scheduled Entries” the list items say something like:
 * “XYZ Post in 30 days”
 * When I’d much rather it say:
 * “XYZ Post in 30 days on Modnay, January 1”
 * I looked at the code in the dashboard and honestly it’s much too complex for 
   me. I’ve also looked in the codex without luck. Can anyone tell me how to add
   that “on DAY, MMMM DD” code?
 * or just “on MMM DD” would be fine if I can’t get the day of week.
 * Thanks!!!

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

 *  [Christopher J. Hradil](https://wordpress.org/support/users/chradil/)
 * (@chradil)
 * [20 years ago](https://wordpress.org/support/topic/dates-on-admin-dashboard/#post-430898)
 * this should cover it-
    [http://codex.wordpress.org/Template_Tags/the_date](http://codex.wordpress.org/Template_Tags/the_date)
 *  Thread Starter [doubledubs](https://wordpress.org/support/users/doubledubs/)
 * (@doubledubs)
 * [20 years ago](https://wordpress.org/support/topic/dates-on-admin-dashboard/#post-431042)
 * The existing code is the following:
 * `
    <h3><?php _e('Scheduled Entries:') ?></h3> <ul> <?php foreach ($scheduled 
   as $post) { if ($post->post_title == '') $post->post_title = sprintf(__('Post#%
   s'), $post->ID); echo "<li>" . sprintf(__('%1$s in %2$s'), "<a href='post.php?
   action=edit&amp;post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title
   </a>", human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt.'
   GMT') )) . "</li>"; } ?>  </ul>
 * Simply adding the below does not seem to help. I’ve tried adding it to several
   places before the `</li>`
 * `
    <?php the_date('Y-m-d', '<h2>', '</h2>'); ?>

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

The topic ‘Dates on Admin Dashboard’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [doubledubs](https://wordpress.org/support/users/doubledubs/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/dates-on-admin-dashboard/#post-431042)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
