Title: Date format
Last modified: August 22, 2016

---

# Date format

 *  Resolved [chisss](https://wordpress.org/support/users/chisss/)
 * (@chisss)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/date-format-57/)
 * Hello,
 * How can I change the way the date displays in the table? It currently displays
   Day-Month-Year but I need it to show Month-Day-Year instead
 * [https://wordpress.org/plugins/memphis-documents-library/](https://wordpress.org/plugins/memphis-documents-library/)

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

 *  Thread Starter [chisss](https://wordpress.org/support/users/chisss/)
 * (@chisss)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/date-format-57/#post-5893173)
 * Nevermind, Found the code.
 * If you open the mdocs-file-info-small.php in my case since I am using the “small”
   theme of Memphis docs, you will find a line that says:
    $last_modified = gmdate(‘
   d-m-y H:i’,$the_mdoc[‘modified’]+MDOCS_TIME_OFFSET);
 * It’s the 9th line of code or so.
 * If you chante that to
    $last_modified = gmdate(‘**m-d-y h:ia**‘,$the_mdoc[‘modified’]
   +MDOCS_TIME_OFFSET); it will change the format to Month, Day and Year and ALSO
   made the change to not display military time and ALSO to add am/pm at the end.
 * My guess is this will be overwritten if an update installs but hopefully the 
   next update will include the option to make this a change from the settings page.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-57/#post-5893286)
 * Thanks I will add the ability to change the date format on the next version. 
   You may need to update your format again but after that you will be good to go.
 *  Thread Starter [chisss](https://wordpress.org/support/users/chisss/)
 * (@chisss)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/date-format-57/#post-5893289)
 * Thanks I appreciate that!
 *  [Cameron Barrett](https://wordpress.org/support/users/cameronbarrett/)
 * (@cameronbarrett)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/date-format-57/#post-5893359)
 * I can confirm that this works. We’re tracking this change in BaseCamp so we can
   revert before the next version of Memphis Docs comes out that solves this issue.

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

The topic ‘Date format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Cameron Barrett](https://wordpress.org/support/users/cameronbarrett/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/date-format-57/#post-5893359)
 * Status: resolved