Date Format

General forum for discussions regarding UTStatsDB
Dragonsys
Posts: 27
Joined: Mon Dec 17, 2007 3:49 pm

Date Format

Postby Dragonsys » Tue May 10, 2011 1:34 pm

Would it be possible to make the Date Format customizable?
You have it so we can change the Hour Format, but the date comes out as a pretty long string (Mon, May 09 2011 at 2:43:17 AM). It would be great if we could change the php date() format

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Date Format

Postby Panther » Tue May 10, 2011 7:40 pm

Simply edit the values in the formatdate function in includes/main.inc.php. You can add additional options to the three included. There are two sets - one with and one without the time.


Return to “UTStatsDB”