Title: Dateformat in matches.php
Last modified: August 21, 2016

---

# Dateformat in matches.php

 *  [Frituurman](https://wordpress.org/support/users/frituurman/)
 * (@frituurman)
 * [12 years ago](https://wordpress.org/support/topic/dateformat-in-matchesphp/)
 * Hello there!
 * I’m new here and pretty new at WordPress. My problem, I want my dateformat in
   matches.php to be like:
 * dd-mm-yyyy e.g. 14-03-2014
 * Now it’s
 * 2014-03-14th
 * I’ve been nosing around and I had it fixed by editing core.php, but when I did
   that, the matches didn’t show up right (I had a ‘next match’ that should’ve been
   in March, but it showed one in May).
 * Is there any way to change the dateformat directly in matches.php? Somewhere 
   in this piece of code: `<?php echo $match->date." ".$match->start_time." ".$match-
   >location ?>`
 * Kind regards!
 * Frituurman
 * [https://wordpress.org/plugins/leaguemanager/](https://wordpress.org/plugins/leaguemanager/)

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

 *  Plugin Author [LaMonte Forthun](https://wordpress.org/support/users/lamontef/)
 * (@lamontef)
 * [12 years ago](https://wordpress.org/support/topic/dateformat-in-matchesphp/#post-4708308)
 * When the matches are entered and updated, the database needs the date/time of
   matches formatted a certain way, which is probably why you aren’t getting anything
   saved anymore. If you want the output (standings for instance), you can format
   that any way you like, but the input has to be formatted very specifically.
 * Any time you are looking to make custom modifications, be care of editing files
   outside the templates folder, and even then, put custom templates in a leaguemanager
   folder within your theme folder. Everything you’ve done will get overridden when
   I post an update either today or tomorrow… (back up your files!).
 * Let me get this update out the door, then we can have a look at what you need,
   give me a day or so.
 *  Thread Starter [Frituurman](https://wordpress.org/support/users/frituurman/)
 * (@frituurman)
 * [12 years ago](https://wordpress.org/support/topic/dateformat-in-matchesphp/#post-4708343)
 * Great! Thanks!

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

The topic ‘Dateformat in matches.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leaguemanager.svg)
 * [LeagueManager](https://wordpress.org/plugins/leaguemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaguemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaguemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/leaguemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaguemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaguemanager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frituurman](https://wordpress.org/support/users/frituurman/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/dateformat-in-matchesphp/#post-4708343)
 * Status: not resolved